mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
Fix #1935 apply editor default config in member signature editor
This commit is contained in:
parent
ec51b64e78
commit
96620b6a8c
1 changed files with 2 additions and 2 deletions
|
|
@ -219,7 +219,7 @@ class memberView extends member
|
||||||
{
|
{
|
||||||
if($formTag->name == 'signature')
|
if($formTag->name == 'signature')
|
||||||
{
|
{
|
||||||
$option = new stdClass;
|
$option = ModuleModel::getModuleConfig('editor') ?: new stdClass;
|
||||||
$option->primary_key_name = 'member_srl';
|
$option->primary_key_name = 'member_srl';
|
||||||
$option->content_key_name = 'signature';
|
$option->content_key_name = 'signature';
|
||||||
$option->allow_html = $member_config->signature_html !== 'N';
|
$option->allow_html = $member_config->signature_html !== 'N';
|
||||||
|
|
@ -322,7 +322,7 @@ class memberView extends member
|
||||||
{
|
{
|
||||||
if($formTag->name == 'signature')
|
if($formTag->name == 'signature')
|
||||||
{
|
{
|
||||||
$option = new stdClass;
|
$option = ModuleModel::getModuleConfig('editor') ?: new stdClass;
|
||||||
$option->primary_key_name = 'member_srl';
|
$option->primary_key_name = 'member_srl';
|
||||||
$option->content_key_name = 'signature';
|
$option->content_key_name = 'signature';
|
||||||
$option->allow_html = $member_config->signature_html !== 'N';
|
$option->allow_html = $member_config->signature_html !== 'N';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue