wzh 5 years ago
parent
commit
4933100f59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/application/controllers/Base_Controller.php

+ 1 - 1
api/application/controllers/Base_Controller.php

@@ -221,6 +221,6 @@ class Base_Controller extends CI_Controller {
         if ($role != SYSTEM_ADMIN) {
             $data['company'] = $company;
         }
-        $this->Syslog_model->insert($data);
+        $this->Syslog_model->add($data);
     }
 }