From fd4d83e488fa716a6b389df09b0be4c4d360844b Mon Sep 17 00:00:00 2001 From: int2001 Date: Sun, 5 Oct 2025 10:16:24 +0000 Subject: [PATCH] Deprecated at PHP 8.2 --- application/controllers/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Search.php b/application/controllers/Search.php index e13c95bdc..7927f98d1 100644 --- a/application/controllers/Search.php +++ b/application/controllers/Search.php @@ -162,7 +162,7 @@ class Search extends CI_Controller { $this->db->update('queries', $data); } - function buildWhere(array $object, string $condition = null): void { + function buildWhere(array $object, ?string $condition = null): void { /* * The $object is one of the following: * - a group, with 'condition' and 'rules' keys