mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
Feature 1255 :
update pwg_db_insert_id() function. PosgreSQL needs table name to retrieve last insert auto increment id. git-svn-id: http://piwigo.org/svn/trunk@4892 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
1 parent
78b517bde6
commit
c1d6177df9
10 files changed
+20
-14
No files matched your search
+1
-1
@@ -148,7 +148,7 @@ INSERT INTO '.SEARCH_TABLE.'
|
||||
;';
|
||||
pwg_query($query);
|
||||
|
||||
$search_id = pwg_db_insert_id();
|
||||
$search_id = pwg_db_insert_id(SEARCH_TABLE);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user