[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: etemplate/inc class.so_sql.inc.php,1.1,1.2
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: etemplate/inc class.so_sql.inc.php,1.1,1.2 |
Date: |
Mon, 18 Feb 2002 08:51:07 -0500 |
Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv23731
Modified Files:
class.so_sql.inc.php
Log Message:
changed last_insert_id() to get_last_insert_id($table,$field)
Index: class.so_sql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.so_sql.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** class.so_sql.inc.php 18 Feb 2002 06:52:33 -0000 1.1
--- class.so_sql.inc.php 18 Feb 2002 13:51:04 -0000 1.2
***************
*** 303,307 ****
if ($this->autoinc_id)
!
$this->data[$this->db_key_cols[$this->autoinc_id]] =
$this->db->last_insert_id();
}
else //update existing row, preserv other cols not used here
--- 303,307 ----
if ($this->autoinc_id)
!
$this->data[$this->db_key_cols[$this->autoinc_id]] =
$this->db->get_last_insert_id($this->table_name,$this->autoinc_id);
}
else //update existing row, preserv other cols not used here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.so_sql.inc.php,1.1,1.2,
Ralf Becker <address@hidden> <=