1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 05:41:58 +02:00

Fix for admin-log of Admin-UI DB-inserts and fix for default userclass value in form element.

This commit is contained in:
Cameron
2015-04-14 11:59:46 -07:00
parent 67d62ce723
commit 3102a6cb07
3 changed files with 26 additions and 1 deletions

View File

@@ -2911,7 +2911,7 @@ class e_admin_model extends e_front_model
$sqlQry = $this->toSqlQuery('create');
$table = $this->getModelTable();
$res = $sql->db_Insert($table, $sqlQry, $this->getParam('db_debug', false));
$res = $sql->insert($table, $sqlQry, $this->getParam('db_debug', false));
$this->_db_qry = $sql->getLastQuery();
if(!$res)
{
@@ -2924,6 +2924,7 @@ class e_admin_model extends e_front_model
return false;
}
e107::getAdminLog()->addSuccess('TABLE: '.$table, false);
e107::getAdminLog()->save('ADMINUI_01');
// e107::getAdminLog()->clear()->addSuccess($table,false)->addArray($sqlQry)->save('ADMINUI_01');