mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Fix title_bold and other flags not being unset when updated
This commit is contained in:
parent
58c910dfa0
commit
6e4c428420
2 changed files with 7 additions and 3 deletions
|
|
@ -969,6 +969,8 @@ class CommentController extends Comment
|
|||
$obj->homepage = $obj->homepage ?? $source_obj->get('homepage');
|
||||
}
|
||||
|
||||
if(($obj->is_secret ?? 'N') !== 'Y') $obj->is_secret = 'N';
|
||||
if(($obj->notify_message ?? 'N') !== 'Y') $obj->notify_message = 'N';
|
||||
$obj->uploaded_count = FileModel::getFilesCount($obj->comment_srl);
|
||||
|
||||
// call a trigger (before)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue