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/admin/element_set_global.php

    r4265 r4325  
    246246    $result = pwg_query($query);
    247247
    248     while ($row = mysql_fetch_assoc($result))
     248    while ($row = pwg_db_fetch_assoc($result))
    249249    {
    250250      $data = array();
     
    338338    AND storage_category_id IS NULL
    339339;';
    340   list($counter) = mysql_fetch_row(pwg_query($query));
     340  list($counter) = pwg_db_fetch_row(pwg_query($query));
    341341
    342342  if ($counter > 0)
     
    482482  // template thumbnail initialization
    483483
    484   while ($row = mysql_fetch_assoc($result))
     484  while ($row = pwg_db_fetch_assoc($result))
    485485  {
    486486    $src = get_thumbnail_url($row);
Note: See TracChangeset for help on using the changeset viewer.