From 0a3cc12a271f56abf97412b5b336ff0cf8402a3c Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Tue, 3 Jun 2025 17:05:22 +0530 Subject: [PATCH] Fixed: syntax error --- classes/Tools.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')) {