mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
reverse merge from 1.6.0 (r10024)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10692 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
546da7c0bd
commit
f6043e67a7
1 changed files with 1 additions and 1 deletions
|
|
@ -396,7 +396,7 @@ class TemplateHandler {
|
|||
}
|
||||
|
||||
if(strpos($node, '|cond="') !== false) {
|
||||
$node = preg_replace('@(\s[\w:\-]+="[^"]+?")\|cond="(.+?)"@s', '<?php if($2){ ?>$1<?php } ?>', $node);
|
||||
$node = preg_replace('@(\s[-\w:]+="[^"]+?")\|cond="(.+?)"@s', '<?php if($2){ ?>$1<?php } ?>', $node);
|
||||
$node = $this->_replaceVar($node);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue