mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 19:59:56 +03: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:
parent
78b517bde6
commit
c1d6177df9
10 changed files with 20 additions and 14 deletions
|
@ -157,7 +157,7 @@ function pwg_db_real_escape_string($s)
|
|||
return mysql_real_escape_string($s);
|
||||
}
|
||||
|
||||
function pwg_db_insert_id()
|
||||
function pwg_db_insert_id($table=null, $column='id')
|
||||
{
|
||||
return mysql_insert_id();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue