mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 17:44:38 +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
|
else
|
||||||
{
|
{
|
||||||
|
$obj->nick_name = $obj->nick_name ?? $source_obj->get('nick_name');
|
||||||
unset($obj->member_srl);
|
unset($obj->member_srl);
|
||||||
unset($obj->user_id);
|
unset($obj->user_id);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue