summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2014-05-25 12:12:52 +0200
committerKevin Chabowski <kevin@kch42.de>2014-05-25 12:12:52 +0200
commit533c1285c05665cfcd8794152b87e97fe2885675 (patch)
tree0d12b69a54a8a7946a4f3f6c4420f6115f25e2bb /src
parent45d8f703d7cbcdf21248e5ad7aafb6b68054d258 (diff)
downloadste-533c1285c05665cfcd8794152b87e97fe2885675.tar.gz
ste-533c1285c05665cfcd8794152b87e97fe2885675.tar.bz2
ste-533c1285c05665cfcd8794152b87e97fe2885675.zip
Silencing possible array to string conversion notices (its okay here)
Diffstat (limited to 'src')
-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) {