From 94b491e125d62535ba3da3085fed596d5b2ffd42 Mon Sep 17 00:00:00 2001 From: guywatson Date: Fri, 20 Apr 2012 10:12:03 +1000 Subject: [PATCH] Incorrect Logic --- code/model/submissions/SubmittedFileField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/submissions/SubmittedFileField.php b/code/model/submissions/SubmittedFileField.php index 14c4043..17a5791 100755 --- a/code/model/submissions/SubmittedFileField.php +++ b/code/model/submissions/SubmittedFileField.php @@ -22,7 +22,7 @@ class SubmittedFileField extends SubmittedFormField { $link = $this->getLink(); $title = _t('SubmittedFileField.DOWNLOADFILE', 'Download File'); - if(!$link) { + if($link) { return sprintf('%s', $link, $title); }