mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix #2369 double decoding of notify data
This commit is contained in:
parent
83448c5e2e
commit
9108d33034
1 changed files with 8 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue