mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-29 07:26:05 +00:00
ref
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user