mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
minor formatting fix
This commit is contained in:
parent
71c09244f7
commit
5561e4a7af
@ -1010,7 +1010,7 @@ class DMSDocument extends DataObject implements DMSDocumentInterface
|
||||
$possibleBehaviors = $this->dbObject('DownloadBehavior')
|
||||
->enumValues();
|
||||
|
||||
$behavior =$possibleBehaviors[$defaultDownloadBehaviour];
|
||||
$behavior = $possibleBehaviors[$defaultDownloadBehaviour];
|
||||
if ($behavior) {
|
||||
$this->DownloadBehavior = $behavior;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user