Skip to content

Commit

Permalink
Fixes #5317 - Missing ID in creation log.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Aug 13, 2024
1 parent c4f2abb commit 347246d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion e107_handlers/model_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3113,9 +3113,12 @@ protected function dbInsert($session_messages = false)
return false;
}


e107::getLog()->addSuccess('TABLE: '.$table, false);
e107::getLog()->addSuccess('ID: '.$res, false);
e107::getLog()->save('ADMINUI_01');
// e107::getAdminLog()->clear()->addSuccess($table,false)->addArray($sqlQry)->save('ADMINUI_01');

// e107::getLog()->clear()->addSuccess($table,false)->addArray($sqlQry)->save('ADMINUI_01');

// Set the reutrned ID
$this->setId($res);
Expand Down

0 comments on commit 347246d

Please sign in to comment.