Skip to content
Snippets Groups Projects
Commit fd8da738 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Database.php: Insert statements will now be reported with last inser id.

parent e521cc60
No related branches found
No related tags found
No related merge requests found
...@@ -282,7 +282,7 @@ class Database { ...@@ -282,7 +282,7 @@ class Database {
$stat[DB_INSERT_ID] = $this->mysqli->insert_id; $stat[DB_INSERT_ID] = $this->mysqli->insert_id;
$stat[DB_AFFECTED_ROWS] = $this->mysqli->affected_rows; $stat[DB_AFFECTED_ROWS] = $this->mysqli->affected_rows;
$count = $stat[DB_AFFECTED_ROWS]; $count = $stat[DB_AFFECTED_ROWS];
$msg = 'ID: ' . $count; $msg = 'ID: ' . $this->mysqli->insert_id;
break; break;
case 'UPDATE': case 'UPDATE':
case 'DELETE': case 'DELETE':
......
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