Changeset 4892 for trunk/upload.php


Ignore:
Timestamp:
Feb 15, 2010, 8:49:04 PM (14 years ago)
Author:
nikrou
Message:

Feature 1255 :
update pwg_db_insert_id() function.
PosgreSQL needs table name to retrieve last insert auto increment id.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upload.php

    r4325 r4892  
    249249    $query.= ';';
    250250    pwg_query( $query );
    251     $page['waiting_id'] = pwg_db_insert_id();
     251    $page['waiting_id'] = pwg_db_insert_id(WAITING_TABLE);
    252252
    253253    if ($conf['email_admin_on_picture_uploaded'])
Note: See TracChangeset for help on using the changeset viewer.