summaryrefslogtreecommitdiff
path: root/STEStandardLibrary.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2014-05-18 01:01:29 +0200
committerKevin Chabowski <kevin@kch42.de>2014-05-18 01:01:29 +0200
commitd93c3d17b2b94b11f89b00c2bf27b3e246af966a (patch)
tree4e2da548183285f74999d9dcaf32dcf3aed06351 /STEStandardLibrary.php
parent861b7b3435b4fd121fbdbb615db23d9df125c8ec (diff)
downloadste-d93c3d17b2b94b11f89b00c2bf27b3e246af966a.tar.gz
ste-d93c3d17b2b94b11f89b00c2bf27b3e246af966a.tar.bz2
ste-d93c3d17b2b94b11f89b00c2bf27b3e246af966a.zip
Getting rid of some notices / fixing _get_var_referencescopes
Diffstat (limited to 'STEStandardLibrary.php')
-rw-r--r--STEStandardLibrary.php2
1 files changed, 1 insertions, 1 deletions
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));