Changeset 2605


Ignore:
Timestamp:
Sep 27, 2008, 1:58:00 AM (16 years ago)
Author:
rub
Message:

Fix issue on AMM plugin when there are no public available.

It's necessary to remove status public for a selection of available pictures (public or private)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/AMenuManager/amm_pip.class.inc.php

    r2488 r2605  
    6161LIMIT 0,1
    6262";
    63       $result=pwg_query($sql);
    64       if($result)
     63      $result = pwg_query($sql);
     64      if($result and $nfo = mysql_fetch_array($result))
    6565      {
    66         $nfo = mysql_fetch_array($result);
    6766        $nfo['section']='category';
    6867        $nfo['category']=array(
Note: See TracChangeset for help on using the changeset viewer.