1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-16 20:28:28 +01:00

Fixes #5317 - Missing ID in creation log.

This commit is contained in:
camer0n 2024-08-13 14:47:21 -07:00
parent c4f2abb85c
commit 347246d268

View File

@ -3113,9 +3113,12 @@ class e_admin_model extends e_front_model
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);