Ignore:
Timestamp:
11/15/09 13:26:09 (10 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/history.php

    r3282 r4265  
    258258 
    259259    $username_of = array(); 
    260     while ($row = mysql_fetch_array($result)) 
     260    while ($row = mysql_fetch_assoc($result)) 
    261261    { 
    262262      $username_of[$row['id']] = $row['username']; 
     
    306306 
    307307    $result = pwg_query($query); 
    308     while ($row = mysql_fetch_array($result)) 
     308    while ($row = mysql_fetch_assoc($result)) 
    309309    { 
    310310      $label_of_image[ $row['id'] ] = $row['label']; 
     
    342342 
    343343    $result = pwg_query($query); 
    344     while ($row = mysql_fetch_array($result)) 
     344    while ($row = mysql_fetch_assoc($result)) 
    345345    { 
    346346      $name_of_tag[ $row['id'] ] = $row['name']; 
Note: See TracChangeset for help on using the changeset viewer.