From 347246d2683ec13343d31987a67dd5d2db8aec60 Mon Sep 17 00:00:00 2001 From: camer0n Date: Tue, 13 Aug 2024 14:47:21 -0700 Subject: [PATCH] Fixes #5317 - Missing ID in creation log. --- e107_handlers/model_class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/e107_handlers/model_class.php b/e107_handlers/model_class.php index 5929d73659..d59b6831ab 100755 --- a/e107_handlers/model_class.php +++ b/e107_handlers/model_class.php @@ -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);