1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 18:14:26 +02:00

Code cleanup and optimization

This commit is contained in:
Cameron
2020-12-14 16:21:48 -08:00
parent c258b856f2
commit 44e260b121
81 changed files with 747 additions and 722 deletions

View File

@@ -3068,7 +3068,7 @@ class e_admin_model extends e_front_model
}
$sql = e107::getDb();
$table = $this->getModelTable();
$res = $sql->db_Insert($table, $this->toSqlQuery('replace'));
$res = $sql->insert($table, $this->toSqlQuery('replace'));
$this->_db_qry = $sql->getLastQuery();
if(!$res)
{