Fixed code style.

This commit is contained in:
Jan Böhmer 2020-08-21 22:44:38 +02:00
parent e01b06fb85
commit e73a90a234
24 changed files with 30 additions and 58 deletions

View file

@ -166,9 +166,9 @@ class ElementPermissionListener
|| !$this->isGranted('edit', $annotation, $element)) && isset(
$old_data[$property->getName()]
)) {
$property->setValue($element, $old_data[$property->getName()]);
$changed = true;
}
$property->setValue($element, $old_data[$property->getName()]);
$changed = true;
}
if ($changed) {
//Schedule for update, so the post update method will be called