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/include/functions_metadata.php

    r4265 r4325  
    260260;';
    261261  $result = pwg_query($query);
    262   while ($row = mysql_fetch_assoc($result))
     262  while ($row = pwg_db_fetch_assoc($result))
    263263  {
    264264    array_push($cat_ids, $row['id']);
     
    285285;';
    286286  $result = pwg_query($query);
    287   while ($row = mysql_fetch_assoc($result))
     287  while ($row = pwg_db_fetch_assoc($result))
    288288  {
    289289    $files[$row['id']] = $row['path'];
Note: See TracChangeset for help on using the changeset viewer.