From 533c1285c05665cfcd8794152b87e97fe2885675 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sun, 25 May 2014 12:12:52 +0200 Subject: Silencing possible array to string conversion notices (its okay here) --- src/ste/STECore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3-70-g09d2