diff --git a/classes/Tools.php b/classes/Tools.php index 09916a166..660bd9578 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -1777,7 +1777,7 @@ class ToolsCore public static function substr($str, $start, $length = false, $encoding = 'utf-8') { - if (is_array($str) || is_null($str)) + if (is_array($str) || is_null($str)) { return false; } if (function_exists('mb_substr')) {