Skip to content

Commit

Permalink
Fix #1685 스크랩 익명 기능이 동작하도록 고침
Browse files Browse the repository at this point in the history
  • Loading branch information
bjrambo committed Apr 9, 2021
1 parent 06ac1cd commit d8eba51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/ncenterlite/ncenterlite.model.php
Expand Up @@ -282,13 +282,13 @@ function getMyNotifyList($member_srl = null, $page = 1, $readed = 'N', $disp = f
$v->text = $this->getNotificationText($v);
$v->ago = $this->getAgo($v->regdate);
$v->url = getUrl('','act','procNcenterliteRedirect', 'notify', $v->notify);
if($v->target_type === $this->_TYPE_VOTED && $config->anonymous_voter === 'Y')
if(($v->target_type === $this->_TYPE_VOTED && $config->anonymous_voter === 'Y') || ($v->target_type === $this->_TYPE_SCRAPPED && $config->anonymous_scrap === 'Y'))
{
$v->target_member_srl = $member_srl;
$v->target_nick_name = lang('anonymous');
$v->target_user_id = $v->target_email_address = 'anonymous';
}
if($v->target_member_srl)
if($v->target_member_srl && ($v->target_type !== $this->_TYPE_VOTED || $v->target_type !== $this->_TYPE_SCRAPPED))
{
$profileImage = $oMemberModel->getProfileImage($v->target_member_srl);
$v->profileImage = $profileImage->src;
Expand Down

0 comments on commit d8eba51

Please sign in to comment.