mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
PHP7 preg_match_all 함수가 값 반환을 제대로 하지못하는 것 같아 변경.
메뉴관리 페이지의 cond 속성을 제대로 처리하지못하는 문제 수정.
This commit is contained in:
parent
197968ba80
commit
ded0e014a2
1 changed files with 2 additions and 1 deletions
|
|
@ -461,7 +461,8 @@ class TemplateHandler
|
|||
*/
|
||||
private function _parseInline($buff)
|
||||
{
|
||||
if(preg_match_all('/<([a-zA-Z]+\d?)(?>(?!<[a-z]+\d?[\s>]).)*?(?:[ \|]cond| loop)="/s', $buff, $match) === false)
|
||||
preg_match_all('/<([a-zA-Z]+\d?)(?>(?!<[a-z]+\d?[\s>]).)*?(?:[ \|]cond| loop)="/s', $buff, $match);
|
||||
if(empty($match))
|
||||
{
|
||||
return $buff;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue