Ignore:
Timestamp:
Nov 20, 2009, 3:17:04 PM (15 years ago)
Author:
nikrou
Message:

Feature 1244 resolved
Replace all mysql functions in core code by ones independant of database engine

Fix small php code synxtax : hash must be accessed with [ ] and not { }.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/group_perm.php

    r4265 r4325  
    8080;';
    8181  $result = pwg_query($query);
    82   while ($row = mysql_fetch_assoc($result))
     82  while ($row = pwg_db_fetch_assoc($result))
    8383  {
    8484    array_push($private_uppercats, $row['id']);
     
    9797  $result = pwg_query($query);
    9898
    99   while ($row = mysql_fetch_assoc($result))
     99  while ($row = pwg_db_fetch_assoc($result))
    100100  {
    101101    array_push($authorized_ids, $row['cat_id']);
     
    158158$result = pwg_query($query_true);
    159159$authorized_ids = array();
    160 while ($row = mysql_fetch_assoc($result))
     160while ($row = pwg_db_fetch_assoc($result))
    161161{
    162162  array_push($authorized_ids, $row['id']);
Note: See TracChangeset for help on using the changeset viewer.