Ignore:
Timestamp:
Feb 15, 2010, 8:49:04 PM (15 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/admin/history.php

    r4325 r4892  
    137137    pwg_query($query);
    138138
    139     $search_id = pwg_db_insert_id();
     139    $search_id = pwg_db_insert_id(SEARCH_TABLE);
    140140
    141141    redirect(
     
    199199    pwg_query($query);
    200200
    201     $search_id = pwg_db_insert_id();
     201    $search_id = pwg_db_insert_id(SEARCH_TABLE);
    202202
    203203    redirect(
Note: See TracChangeset for help on using the changeset viewer.