From e42cd413b66c6f10fb1c8f55d7ea7ae17fbf71df Mon Sep 17 00:00:00 2001 From: Marius Burkard Date: Mon, 1 Jan 2018 12:21:37 +0100 Subject: [PATCH] - fixed two typos for previous commit --- interface/lib/classes/tpl.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/lib/classes/tpl.inc.php b/interface/lib/classes/tpl.inc.php index 37814cd0c..efaf4c072 100644 --- a/interface/lib/classes/tpl.inc.php +++ b/interface/lib/classes/tpl.inc.php @@ -245,7 +245,7 @@ if (!defined('vlibTemplateClassLoaded')) { } else { if (preg_match('/^[A-Za-z_]+[A-Za-z0-9_]*$/', $k) && $v !== null) { if ($this->OPTIONS['CASELESS']) $k = strtolower($k); - if($encode == true) $value = $app->functions->htmlentities($); + if($encode == true) $v = $app->functions->htmlentities($v); $this->_vars[trim($k)] = $v; } else { return false; -- GitLab