Skip to content

Commit

Permalink
I did't test previous change well, have take changes back.
Browse files Browse the repository at this point in the history
  • Loading branch information
paca70 committed Apr 28, 2003
1 parent 9a652dd commit 6492992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datalib.php
Expand Up @@ -618,7 +618,7 @@ function insert_record($table, $dataobject, $returnid=true) {
} }


if ($returnid) { 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 return $db->Insert_ID(); // ADOdb has stored the ID for us, but it isn't reliable
} }


Expand Down

0 comments on commit 6492992

Please sign in to comment.