mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Fix PHP warning when profile image doesn't exist
This commit is contained in:
parent
418c2b9dfa
commit
88a69f85e8
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ class ncenterliteModel extends ncenterlite
|
|||
if($v->target_member_srl)
|
||||
{
|
||||
$profileImage = $oMemberModel->getProfileImage($v->target_member_srl);
|
||||
$v->profileImage = $profileImage->src;
|
||||
$v->profileImage = $profileImage ? $profileImage->src : null;
|
||||
}
|
||||
$list[$k] = $v;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue