From 649299261623e6982991e9decf1be14c9ba7deab Mon Sep 17 00:00:00 2001 From: paca70 Date: Mon, 28 Apr 2003 12:02:29 +0000 Subject: [PATCH] I did't test previous change well, have take changes back. --- lib/datalib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datalib.php b/lib/datalib.php index 7e8bf3bc76..18a00c1a54 100644 --- a/lib/datalib.php +++ b/lib/datalib.php @@ -618,7 +618,7 @@ function insert_record($table, $dataobject, $returnid=true) { } if ($returnid) { - if ($CFG->dbtype == "mysql" || $CFG->dbtype == "postgres7") { + if ($CFG->dbtype == "mysql" ) { return $db->Insert_ID(); // ADOdb has stored the ID for us, but it isn't reliable } -- 2.39.5