summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stupid_template_engine.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/stupid_template_engine.php b/stupid_template_engine.php
index a8eba06..8e5beb5 100644
--- a/stupid_template_engine.php
+++ b/stupid_template_engine.php
@@ -1345,7 +1345,7 @@ class STECore
*/
public function evalbool($txt)
{
- return trim($txt) != "";
+ return trim($txt . "") != "";
}
}