We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b7cfbc commit c69dcb7Copy full SHA for c69dcb7
src/Traits/AuditsTrait.php
@@ -47,7 +47,7 @@ protected function auditInsert(array $data)
47
48
$audit = [
49
'source' => $this->table,
50
- 'source_id' => $data['result']->connID->insert_id,
+ 'source_id' => $this->db->insertID(),
51
'event' => 'insert',
52
'summary' => count($data['data']) . ' fields',
53
];
0 commit comments