Ignore:
Timestamp:
Jun 9, 2010, 11:40:34 AM (14 years ago)
Author:
nikrou
Message:

Bug 1715 fixed : SQLite: Add photos fail
must use pwg_db_* functions instead of mysql_* ones
merge from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/admin/photos_add_direct.php

    r6364 r6499  
    238238  WHERE id = '.$image_id.'
    239239;';
    240     $image_infos = mysql_fetch_assoc(pwg_query($query));
     240    $image_infos = pwg_db_fetch_assoc(pwg_query($query));
    241241
    242242    $thumbnail['file'] = $image_infos['file'];
     
    298298  WHERE category_id = '.$category_id.'
    299299;';
    300       list($count) = mysql_fetch_row(pwg_query($query));
     300      list($count) = pwg_db_fetch_row(pwg_query($query));
    301301      $category_name = get_cat_display_name_from_id($category_id, 'admin.php?page=cat_modify&cat_id=');
    302302     
Note: See TracChangeset for help on using the changeset viewer.