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

    r4325 r4892  
    169169    pwg_query($query);
    170170
    171     $comm['id'] = pwg_db_insert_id();
     171    $comm['id'] = pwg_db_insert_id(COMMENTS_TABLE);
    172172
    173173    if (($comment_action=='validate' and $conf['email_admin_on_comment']) or
Note: See TracChangeset for help on using the changeset viewer.