Changeset 5426


Ignore:
Timestamp:
Mar 28, 2010, 7:19:07 PM (14 years ago)
Author:
grum
Message:

Update the plugin for compatibility with Piwigo 2.1 - use dblayer for sql queries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMenuManager/amm_root.class.inc.php

    r5421 r5426  
    131131    if($result)
    132132    {
    133       while($row=mysql_fetch_array($result))
     133      while($row=pwg_db_fetch_assoc($result))
    134134      {
    135135        $row['label']=stripslashes($row['label']);
     
    152152    if($result)
    153153    {
    154       $tmp=mysql_fetch_row($result);
     154      $tmp=pwg_db_fetch_row($result);
    155155      $returned=$tmp[0];
    156156    }
     
    183183    if($result)
    184184    {
    185       while($row=mysql_fetch_array($result))
     185      while($row=pwg_db_fetch_assoc($result))
    186186      {
    187187        $returned[]=$row;
Note: See TracChangeset for help on using the changeset viewer.