Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5130cc0
)
* template.php (parse_template): every tag preceded by string.
author
Josh Grams
<josh@qualdan.com>
Thu, 6 Aug 2009 14:08:24 +0000
(10:08 -0400)
committer
Josh Grams
<josh@qualdan.com>
Thu, 6 Aug 2009 14:08:24 +0000
(10:08 -0400)
template.php
patch
|
blob
|
history
diff --git
a/template.php
b/template.php
index
c48d700
..
07e6e12
100644
(file)
--- a/
template.php
+++ b/
template.php
@@
-76,6
+76,7
@@
function parse_template($string) {
if(last($args) == '{') { # open block
array_pop($args); # drop '{'
+ if(!is_string(last($tem['pieces']))) $tem['pieces'][] = '';
$tem =& tem_push($tem); # create a new sub-template
$tem['parent']['pieces'][] =& $tem; # as a piece of the parent
$tem['name'] = $name;