From b3808144caf282190240f84027bcbab766cced23 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Fri, 8 Jul 2022 23:52:03 +0200 Subject: [PATCH] Address deprecation notices for certain function signatures --- models/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/Database.php b/models/Database.php index aaa0dfc2..8507fa71 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))