mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
php7 지원하지않는 e옵션 대체
추가된 가입폼 나오지않는 문제수정
This commit is contained in:
parent
994812947b
commit
5a37018576
1 changed files with 1 additions and 1 deletions
|
|
@ -631,7 +631,7 @@ class memberAdminView extends member
|
|||
}
|
||||
|
||||
$replace = array_merge($extentionReplace, $replace);
|
||||
$inputTag = preg_replace('@%(\w+)%@e', '$replace[$1]', $template);
|
||||
$inputTag = preg_replace_callback('@%(\w+)%@', function($n) { return $replace[$n[1]]; }, $template);
|
||||
|
||||
if($extendForm->description)
|
||||
$inputTag .= '<p class="help-block">'.$extendForm->description.'</p>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue