Ignore:
Timestamp:
Mar 28, 2010, 7:19:23 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_pip.class.inc.php

    r5421 r5427  
    215215    if($result)
    216216    {
    217       while($row=mysql_fetch_assoc($result))
     217      while($row=pwg_db_fetch_assoc($result))
    218218      {
    219219        array_push($returned, $row['group_id']);
     
    271271
    272272      $result = pwg_query($sql);
    273       if($result and $nfo = mysql_fetch_array($result))
     273      if($result and $nfo = pwg_db_fetch_assoc($result))
    274274      {
    275275        $nfo['section']='category';
Note: See TracChangeset for help on using the changeset viewer.