From 7c043e6e3e5009b729ae143bc2e29d451c55377e Mon Sep 17 00:00:00 2001 From: amit sharma Date: Thu, 17 Sep 2026 14:39:05 +0530 Subject: [PATCH] Fixed: fix deprecated issue --- classes/Tools.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/classes/Tools.php b/classes/Tools.php index fe499c28d..12e717674 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -1381,14 +1381,14 @@ class ToolsCore $has_mb_strtolower = function_exists('mb_strtolower'); } - if (isset($array_str[$str])) { - return $array_str[$str]; - } - if (!is_string($str)) { return false; } + if (isset($array_str[$str])) { + return $array_str[$str]; + } + if ($str == '') { return ''; }