summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-10-20 16:20:43 +0200
committerKevin Chabowski <kevin@kch42.de>2013-10-20 16:20:43 +0200
commit6ca501f5992f4ce11fb0e6dc61769d2e9614232c (patch)
tree282793fb07e923fc1fd1ced6753f0f93edb9ae5a
parenta68a8f7ccf60fa17fc5aa379ac191f555668fe25 (diff)
downloadste-6ca501f5992f4ce11fb0e6dc61769d2e9614232c.tar.gz
ste-6ca501f5992f4ce11fb0e6dc61769d2e9614232c.tar.bz2
ste-6ca501f5992f4ce11fb0e6dc61769d2e9614232c.zip
Fixed tag parameter parsing
-rw-r--r--stupid_template_engine.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/stupid_template_engine.php b/stupid_template_engine.php
index 2c8a5ac..c67b1fd 100644
--- a/stupid_template_engine.php
+++ b/stupid_template_engine.php
@@ -466,7 +466,7 @@ class Parser {
}
$off = $this->off - 1;
- $tag->params[$name] = $this->parse_text(
+ $tag->params[$param] = $this->parse_text(
self::ESCAPES_DEFAULT . $quot, /* Escapes */
0, /* Flags */
$quot, /* Break on */
@@ -1435,7 +1435,6 @@ class STECore
$content = $this->storage_access->load($tpl, $mode);
if($mode == MODE_SOURCE)
{
- $content = precompile($content);
try
{
$ast = Parser::parse($content, $tpl);