Fix parse error

This commit is contained in:
Damian Mooyman 2014-05-20 09:01:36 +12:00
parent 0d2ef15c21
commit 681645ac0f

View File

@ -398,7 +398,7 @@ HTML;
$files = DataObject::get("File", "\"File\".\"ID\" IN ($fileList)"); $files = DataObject::get("File", "\"File\".\"ID\" IN ($fileList)");
if($files) { if($files) {
foreach($files as $file) { foreach($files as $file) {
if(!$file->canEdit()) return Security::permissionFailure($this) if(!$file->canEdit()) return Security::permissionFailure($this);
if($file instanceof Image) { if($file instanceof Image) {
$file->deleteFormattedImages(); $file->deleteFormattedImages();
} }