[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.db.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.db.inc.php |
Date: |
Sun, 19 Mar 2006 19:17:11 +0000 |
CVSROOT: /sources/phpgwapi
Module name: phpgwapi
Branch:
Changes by: Sigurd Nes <address@hidden> 06/03/19 19:17:11
Modified files:
inc : class.db.inc.php
Log message:
fix for get_last_insert_id() - was returning oid for postgres
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/phpgwapi/inc/class.db.inc.php.diff?tr1=1.21&tr2=1.22&r1=text&r2=text
Patches:
Index: phpgwapi/inc/class.db.inc.php
diff -u phpgwapi/inc/class.db.inc.php:1.21 phpgwapi/inc/class.db.inc.php:1.22
--- phpgwapi/inc/class.db.inc.php:1.21 Wed Mar 15 14:15:40 2006
+++ phpgwapi/inc/class.db.inc.php Sun Mar 19 19:17:11 2006
@@ -9,7 +9,7 @@
* @link http://www.sanisoft.com/phplib/manual/DB_sql.php
* @package phpgwapi
* @subpackage database
- * @version $Id: class.db.inc.php,v 1.21 2006/03/15 14:15:40 sigurdne
Exp $
+ * @version $Id: class.db.inc.php,v 1.22 2006/03/19 19:17:11 sigurdne
Exp $
*/
if (empty($GLOBALS['phpgw_info']['server']['db_type']))
@@ -380,7 +380,7 @@
function get_last_insert_id($table, $field)
{
//echo "depricated: get_last_insert_id";
- return $this->adodb->Insert_ID();
+ return $this->adodb->Insert_ID($table, $field);
}
/**