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/install/upgrade_1.4.0.php

    r3282 r4265  
    4343  WHERE param = \'prefix_thumbnail\'
    4444;';
    45 list($prefix_thumbnail) = mysql_fetch_array(pwg_query($query));
     45list($prefix_thumbnail) = mysql_fetch_row(pwg_query($query));
    4646
    4747// delete obsolete configuration
     
    195195
    196196$result = pwg_query($query);
    197 while ($row = mysql_fetch_array($result))
     197while ($row = mysql_fetch_assoc($result))
    198198{
    199199  $row['user_id'] = $row['id'];
Note: See TracChangeset for help on using the changeset viewer.