Permalink
Browse files

I did't test previous change well, have take changes back.

  • Loading branch information...
1 parent 9a652dd commit 649299261623e6982991e9decf1be14c9ba7deab paca70 committed Apr 28, 2003
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/datalib.php
View
@@ -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
}

0 comments on commit 6492992

Please sign in to comment.