Skip to content
Snippets Groups Projects
Commit e42cd413 authored by Marius Burkard's avatar Marius Burkard
Browse files

- fixed two typos for previous commit

parent 9a7981e0
No related branches found
No related tags found
1 merge request!704Stable 3.1
...@@ -245,7 +245,7 @@ if (!defined('vlibTemplateClassLoaded')) { ...@@ -245,7 +245,7 @@ if (!defined('vlibTemplateClassLoaded')) {
} else { } else {
if (preg_match('/^[A-Za-z_]+[A-Za-z0-9_]*$/', $k) && $v !== null) { if (preg_match('/^[A-Za-z_]+[A-Za-z0-9_]*$/', $k) && $v !== null) {
if ($this->OPTIONS['CASELESS']) $k = strtolower($k); 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; $this->_vars[trim($k)] = $v;
} else { } else {
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment