mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
회원 서명 text 소급 적용시 여러줄이 생성되는 문제 수정
This commit is contained in:
parent
56d62a816f
commit
827be8a286
1 changed files with 1 additions and 0 deletions
|
|
@ -1036,6 +1036,7 @@ class memberModel extends member
|
|||
$config = getModel('member')->getMemberConfig();
|
||||
if($config->signature_html_retroact == 'Y' && $config->signature_html == 'N' && preg_match('/<[^br]+>/i', $signature))
|
||||
{
|
||||
$signature = preg_replace('/(\r?\n)+/', "\n", $signature);
|
||||
return getController('member')->putSignature($member_srl, $signature);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue