Ignore:
Timestamp:
Nov 15, 2009, 1:26:09 PM (14 years ago)
Author:
nikrou
Message:

Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for small php code improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_metadata.php

    r3282 r4265  
    260260;';
    261261  $result = pwg_query($query);
    262   while ($row = mysql_fetch_array($result))
     262  while ($row = mysql_fetch_assoc($result))
    263263  {
    264264    array_push($cat_ids, $row['id']);
     
    285285;';
    286286  $result = pwg_query($query);
    287   while ($row = mysql_fetch_array($result))
     287  while ($row = mysql_fetch_assoc($result))
    288288  {
    289289    $files[$row['id']] = $row['path'];
Note: See TracChangeset for help on using the changeset viewer.