Skip to content
Snippets Groups Projects
Commit bc09783c authored by Marius Cramer's avatar Marius Cramer
Browse files

- Fixed mysql library (server version)

parent 0e3df6c9
No related branches found
No related tags found
No related merge requests found
......@@ -648,7 +648,7 @@ class db extends mysqli
$old_rec = array();
$index_value = $this->insertID();
$new_rec = $this->queryOneRecord("SELECT * FROM ?? WHERE ? = ?", $tablename, $index_field, $index_value);
$new_rec = $this->queryOneRecord("SELECT * FROM ?? WHERE ?? = ?", $tablename, $index_field, $index_value);
$this->datalogSave($tablename, 'INSERT', $index_field, $index_value, $old_rec, $new_rec);
return $index_value;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment