From 6c27f746f5b1bf88005069dd45995945660bb229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ValenokPC=E2=84=A2?= Date: Thu, 19 Dec 2024 09:01:51 +0300 Subject: [PATCH] Update model.php --- system/core/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/core/model.php b/system/core/model.php index f2f42554d..39c365be5 100755 --- a/system/core/model.php +++ b/system/core/model.php @@ -558,8 +558,8 @@ public function insert($table_name, $data, $array_as_json = false, $ignore = fal return $this->db->insert($table_name, $data, false, $array_as_json, $ignore); } - public function insertOrUpdate($table_name, $insert_data, $update_data = false){ - return $this->db->insertOrUpdate($table_name, $insert_data, $update_data); + public function insertOrUpdate($table_name, $insert_data, $update_data = false, $array_as_json = false){ + return $this->db->insertOrUpdate($table_name, $insert_data, $update_data, $array_as_json); } //============================================================================//