Changeset 5427
- Timestamp:
- Mar 28, 2010, 7:19:23 PM (15 years ago)
- Location:
- extensions/AMenuManager
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMenuManager/amm_aip.class.inc.php
r5421 r5427 609 609 if($result) 610 610 { 611 $tmp= mysql_fetch_row($result);611 $tmp=pwg_db_fetch_row($result); 612 612 $tmp=$tmp[0]; 613 613 } … … 803 803 if($result) 804 804 { 805 $returned= mysql_fetch_array($result);805 $returned=pwg_db_fetch_assoc($result); 806 806 //$returned['label']=stripslashes($returned['label']); 807 807 } … … 817 817 { 818 818 $tmp=array(); 819 while($row= mysql_fetch_array($result))819 while($row=pwg_db_fetch_assoc($result)) 820 820 { 821 821 $tmp[$row['id']]=$row['position']; … … 879 879 if($result) 880 880 { 881 while($returned[]= mysql_fetch_array($result));881 while($returned[]=pwg_db_fetch_assoc($result)); 882 882 } 883 883 return($returned); … … 917 917 if($result) 918 918 { 919 $row= mysql_fetch_row($result);919 $row=pwg_db_fetch_row($result); 920 920 if(is_array($row)) 921 921 { -
extensions/AMenuManager/amm_pip.class.inc.php
r5421 r5427 215 215 if($result) 216 216 { 217 while($row= mysql_fetch_assoc($result))217 while($row=pwg_db_fetch_assoc($result)) 218 218 { 219 219 array_push($returned, $row['group_id']); … … 271 271 272 272 $result = pwg_query($sql); 273 if($result and $nfo = mysql_fetch_array($result))273 if($result and $nfo = pwg_db_fetch_assoc($result)) 274 274 { 275 275 $nfo['section']='category'; -
extensions/AMenuManager/maintain.inc.php
r4395 r5427 20 20 { 21 21 @include_once(PHPWG_PLUGINS_PATH.'grum_plugins_classes-2/main.inc.php'); 22 // need GPC release greater or equal than 2.0. 422 // need GPC release greater or equal than 2.0.5 23 23 24 if(checkGPCRelease(2,0, 4))24 if(checkGPCRelease(2,0,5)) 25 25 { 26 26 @include_once("amm_install.class.inc.php"); … … 31 31 function gpcMsgError(&$errors) 32 32 { 33 array_push($errors, sprintf(l10n('Grum Plugin Classes is not installed (release >= %s)'), "2.0. 4"));33 array_push($errors, sprintf(l10n('Grum Plugin Classes is not installed (release >= %s)'), "2.0.5")); 34 34 } 35 35 // -----------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.