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_ranks.php

    r4265 r4325  
    116116  WHERE id = '.$page['category_id'].'
    117117;';
    118 $category = mysql_fetch_assoc(pwg_query($query));
     118$category = pwg_db_fetch_assoc(pwg_query($query));
    119119
    120120// Navigation path
     
    151151$current_rank = 1;
    152152
    153 while ($row = mysql_fetch_assoc($result))
     153while ($row = pwg_db_fetch_assoc($result))
    154154{
    155155  $src = get_thumbnail_url($row);
Note: See TracChangeset for help on using the changeset viewer.