This commit is contained in:
Yuri Kuznetsov
2025-03-07 11:46:21 +02:00
parent cc14c69a5e
commit f3c4e631cd

View File

@@ -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);
}
}
}