From d93c3d17b2b94b11f89b00c2bf27b3e246af966a Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sun, 18 May 2014 01:01:29 +0200 Subject: Getting rid of some notices / fixing _get_var_reference --- STEStandardLibrary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'STEStandardLibrary.php') diff --git a/STEStandardLibrary.php b/STEStandardLibrary.php index a007d41..915b699 100644 --- a/STEStandardLibrary.php +++ b/STEStandardLibrary.php @@ -12,7 +12,7 @@ class STEStandardLibrary { } static public function escape($ste, $params, $sub) { - if($ste->evalbool($params["lines"])) { + if($ste->evalbool(@$params["lines"])) { return nl2br(htmlspecialchars(str_replace("\r\n", "\n", $sub($ste)))); } else { return htmlspecialchars($sub($ste)); -- cgit v1.2.3-70-g09d2