summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2007-07-12 15:56:21 +0200
committerDerek Jones <derek.jones@ellislab.com>2007-07-12 15:56:21 +0200
commitf9a4e9e04589df8dcf808519c95703f16c318384 (patch)
treeea0a52cfcb037f6a5281ac35f3c03d0e27cdf81e /system/database
parent4cf29dd28c1b2d54f9b76d77b6a75afbb8b27854 (diff)
fixed undefined function in insert_id() of PostgreSQL driver
Diffstat (limited to 'system/database')
-rw-r--r--system/database/drivers/postgre/postgre_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/postgre/postgre_driver.php b/system/database/drivers/postgre/postgre_driver.php
index bfb212cfd..798905126 100644
--- a/system/database/drivers/postgre/postgre_driver.php
+++ b/system/database/drivers/postgre/postgre_driver.php
@@ -230,7 +230,7 @@ class CI_DB_postgre_driver extends CI_DB {
*/
function insert_id()
{
- $v = version($this->conn_id);
+ $v = $this->_version();
$v = $v['server'];
$table = func_num_args() > 0 ? func_get_arg(0) : null;