Ignore:
Timestamp:
Nov 20, 2009, 3:17:04 PM (14 years ago)
Author:
nikrou
Message:

Feature 1244 resolved
Replace all mysql functions in core code by ones independant of database engine

Fix small php code synxtax : hash must be accessed with [ ] and not { }.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_mail.inc.php

    r4304 r4325  
    352352  if (!empty($datas))
    353353  {
    354     while ($admin = mysql_fetch_assoc($datas))
     354    while ($admin = pwg_db_fetch_assoc($datas))
    355355    {
    356356      if (!empty($admin['mail_address']))
     
    448448  $result = pwg_query($query);
    449449
    450   if (mysql_num_rows($result) > 0)
     450  if (pwg_db_num_rows($result) > 0)
    451451  {
    452452    $list = array();
    453     while ($row = mysql_fetch_assoc($result))
     453    while ($row = pwg_db_fetch_assoc($result))
    454454    {
    455455      $row['template_theme'] = $row['template'];
     
    477477      $result = pwg_query($query);
    478478
    479       if (mysql_num_rows($result) > 0)
     479      if (pwg_db_num_rows($result) > 0)
    480480      {
    481481        $Bcc = array();
    482         while ($row = mysql_fetch_assoc($result))
     482        while ($row = pwg_db_fetch_assoc($result))
    483483        {
    484484          if (!empty($row['mail_address']))
Note: See TracChangeset for help on using the changeset viewer.