diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ste/STECore.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ste/STECore.php b/src/ste/STECore.php index d9a2b8e..35a92d5 100644 --- a/src/ste/STECore.php +++ b/src/ste/STECore.php @@ -280,7 +280,7 @@ class STECore { * true/false. */ public function evalbool($txt) { - return trim($txt . "") != ""; + return trim(@(string)$txt) != ""; } public function make_closure($fx) { |