Skip to content

Commit e42cd41

Browse files
author
Marius Burkard
committed
- fixed two typos for previous commit
1 parent 9a7981e commit e42cd41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/tpl.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public function setVar($k, $v = null, $encode = false)
245245
} else {
246246
if (preg_match('/^[A-Za-z_]+[A-Za-z0-9_]*$/', $k) && $v !== null) {
247247
if ($this->OPTIONS['CASELESS']) $k = strtolower($k);
248-
if($encode == true) $value = $app->functions->htmlentities($);
248+
if($encode == true) $v = $app->functions->htmlentities($v);
249249
$this->_vars[trim($k)] = $v;
250250
} else {
251251
return false;

0 commit comments

Comments
 (0)