mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix nick_name is null error when an admin tries to update a guest comment
https://xetown.com/questions/1788734
This commit is contained in:
parent
f589737dcf
commit
6228dca221
1 changed files with 1 additions and 0 deletions
|
|
@ -961,6 +961,7 @@ class CommentController extends Comment
|
|||
}
|
||||
else
|
||||
{
|
||||
$obj->nick_name = $obj->nick_name ?? $source_obj->get('nick_name');
|
||||
unset($obj->member_srl);
|
||||
unset($obj->user_id);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue