Fixed: fix deprecated issue

This commit is contained in:
amit sharma
2026-09-17 14:39:05 +05:30
parent 2ba425a049
commit 7c043e6e3e

View File

@@ -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 '';
}