Ignore:
Timestamp:
Apr 9, 2013, 9:46:48 AM (11 years ago)
Author:
ddtddt
Message:

[extensions] - Piwecard - Checked compatibility with Piwigo 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Piwecard/include/piwecard.class.php

    r20431 r22072  
    267267                                $result = pwg_query($query);
    268268                                if (isset($result)) {
    269                                         $img_infos = mysql_fetch_array($result);
     269                                        $img_infos = pwg_db_fetch_assoc($result);
    270270                                        $authorname = $img_infos['author'];
    271271                                }
     
    363363                                                $result = pwg_query($query);
    364364                                                if (isset($result))
    365                                                         $image_element = mysql_fetch_array($result);
     365                                                        $image_element = pwg_db_fetch_assoc($result);
    366366                                               
    367367                                                // Generate random number
Note: See TracChangeset for help on using the changeset viewer.