summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ste/STECore.php2
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) {