diff --git a/models/Database.php b/models/Database.php index aaa0dfc..8507fa7 100644 --- a/models/Database.php +++ b/models/Database.php @@ -488,7 +488,7 @@ class Database /** * This function can be used to insert data into the database in a secure way. */ - public function insert($method = 'replace', $table, $columns, $data) + public function insert($method, $table, $columns, $data) { // With nothing to insert, simply return. if (empty($data))