diff options
author | svncommit <devs@roundcube.net> | 2005-10-26 17:27:59 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2005-10-26 17:27:59 +0000 |
commit | fa3addfc5d03046cd173fde7e7875bad2badc6da (patch) | |
tree | dd23201f9ed4d0ed79cb9fbce5ef3b6a252ba057 /program/include | |
parent | 43fa235da354c8b53aa69ba745c1d398a758fcaf (diff) |
mysqli support
Diffstat (limited to 'program/include')
-rwxr-xr-x | program/include/rcube_db.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/program/include/rcube_db.inc b/program/include/rcube_db.inc index e83565843..a987d2e84 100755 --- a/program/include/rcube_db.inc +++ b/program/include/rcube_db.inc @@ -192,8 +192,11 @@ class rcube_db return $result; case 'mysql': // This is unfortuneate - return mysql_insert_id(); + return mysql_insert_id($this->db_handle->connection); + case 'mysqli': + return mysqli_insert_id($this->db_handle->connection); + case 'sqlite': return sqlite_last_insert_rowid($this->db_handle->connection); |