minor formatting fix

This commit is contained in:
Dave Collins 2018-07-05 12:04:33 -04:00
parent 71c09244f7
commit 5561e4a7af

View File

@ -1010,7 +1010,7 @@ class DMSDocument extends DataObject implements DMSDocumentInterface
$possibleBehaviors = $this->dbObject('DownloadBehavior') $possibleBehaviors = $this->dbObject('DownloadBehavior')
->enumValues(); ->enumValues();
$behavior =$possibleBehaviors[$defaultDownloadBehaviour]; $behavior = $possibleBehaviors[$defaultDownloadBehaviour];
if ($behavior) { if ($behavior) {
$this->DownloadBehavior = $behavior; $this->DownloadBehavior = $behavior;
} }