Fixed: fix deprecated issue
This commit is contained in:
@@ -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 '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user