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

    r3282 r4265  
    151151    $check_key_list = array();
    152152
    153     while ($nbm_user = mysql_fetch_array($result))
     153    while ($nbm_user = mysql_fetch_assoc($result))
    154154    {
    155155      // Calculate key
     
    513513      // Update param
    514514      $result = pwg_query('select param, value from '.CONFIG_TABLE.' where param like \'nbm\\_%\'');
    515       while ($nbm_user = mysql_fetch_array($result))
     515      while ($nbm_user = mysql_fetch_assoc($result))
    516516      {
    517517        if (isset($_POST[$nbm_user['param']]))
Note: See TracChangeset for help on using the changeset viewer.