1
0
Alex Trofimov 1 жил өмнө
parent
commit
e2d009ce20

+ 1 - 1
modules/boonex/profiler/classes/BxProfiler.php

@@ -634,7 +634,7 @@ class BxProfiler extends BxDol
 
     function _debugPrintAny ($mixed)
     {
-        if (is_string)
+        if (is_string($mixed))
             return "'" . (strlen($mixed) > $this->_sLogMaxArgLength ? substr($mixed, 0, $this->_sLogMaxArgLength) . '...' : $mixed) . "'";
         else
             return $mixed;