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/upload.php

    r3720 r4265  
    101101;';
    102102    $result = pwg_query($query);
    103     while($row = mysql_fetch_array($result))
     103    while($row = mysql_fetch_assoc($result))
    104104    {
    105105      $dir = get_complete_dir($row['storage_category_id']);
     
    154154$query.= ';';
    155155$result = pwg_query( $query );
    156 while ( $row = mysql_fetch_array( $result ) )
     156while ( $row = mysql_fetch_assoc( $result ) )
    157157{
    158158  if ( !isset( $cat_names[$row['storage_category_id']] ) )
Note: See TracChangeset for help on using the changeset viewer.