summaryrefslogtreecommitdiff
path: root/stupid_template_engine.php
diff options
context:
space:
mode:
Diffstat (limited to 'stupid_template_engine.php')
-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 . "") != "";
}
}