From f3c4e631cdcb2c9d26dbe53d93a7191ee8dc99d0 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 7 Mar 2025 11:46:21 +0200 Subject: [PATCH] ref --- application/Espo/Tools/Stream/NoteAccessControl.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/Espo/Tools/Stream/NoteAccessControl.php b/application/Espo/Tools/Stream/NoteAccessControl.php index 0ae6514939..79d8327f6f 100644 --- a/application/Espo/Tools/Stream/NoteAccessControl.php +++ b/application/Espo/Tools/Stream/NoteAccessControl.php @@ -69,7 +69,7 @@ class NoteAccessControl unset($data->attributes->became->$attribute); } - $note->set('data', $data); + $note->setData($data); } if ($note->getType() === Note::TYPE_STATUS && $note->getParentType()) { @@ -86,7 +86,7 @@ class NoteAccessControl $data->style = null; } - $note->set('data', $data); + $note->setData($data); } if ($note->getType() === Note::TYPE_CREATE && $note->getParentType()) { @@ -103,7 +103,7 @@ class NoteAccessControl $data->statusStyle = null; } - $note->set('data', $data); + $note->setData($data); } } }