mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Fix parse error
This commit is contained in:
parent
0d2ef15c21
commit
681645ac0f
@ -398,7 +398,7 @@ HTML;
|
||||
$files = DataObject::get("File", "\"File\".\"ID\" IN ($fileList)");
|
||||
if($files) {
|
||||
foreach($files as $file) {
|
||||
if(!$file->canEdit()) return Security::permissionFailure($this)
|
||||
if(!$file->canEdit()) return Security::permissionFailure($this);
|
||||
if($file instanceof Image) {
|
||||
$file->deleteFormattedImages();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user