mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Run PSR2 Lint cleaner
This commit is contained in:
parent
f1594fd991
commit
d7752b7945
@ -224,8 +224,7 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
||||
if ($this->record->canDelete()) {
|
||||
$form->Actions()->fieldByName('action_doDelete')->setReadonly(false);
|
||||
}
|
||||
} elseif (
|
||||
!$this->record->ID
|
||||
} elseif (!$this->record->ID
|
||||
&& !$this->record->canCreate(null, $this->getCreateContext())
|
||||
) {
|
||||
// Restrict creation of new records
|
||||
|
Loading…
Reference in New Issue
Block a user