Fix #2369 double decoding of notify data

This commit is contained in:
Kijin Sung 2024-06-20 13:36:50 +09:00
parent 83448c5e2e
commit 9108d33034

View file

@ -281,7 +281,14 @@ class NcenterliteModel extends Ncenterlite
$v->text = $this->getNotificationText($v);
$v->ago = $this->getAgo($v->regdate);
$v->url = getUrl('','act','procNcenterliteRedirect', 'notify', $v->notify);
$v->data = isset($v->data) ? unserialize($v->data) : [];
if (isset($v->data))
{
$v->data = is_string($v->data) ? unserialize($v->data) : $v->data;
}
else
{
$v->data = [];
}
if($v->target_member_srl < 0)
{