summaryrefslogtreecommitdiff
path: root/app/frontend/components
diff options
context:
space:
mode:
Diffstat (limited to 'app/frontend/components')
-rw-r--r--app/frontend/components/FileUploadSecureOption.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/frontend/components/FileUploadSecureOption.php b/app/frontend/components/FileUploadSecureOption.php
index 3550e21..ae79720 100644
--- a/app/frontend/components/FileUploadSecureOption.php
+++ b/app/frontend/components/FileUploadSecureOption.php
@@ -9,7 +9,7 @@ trait FileUploadSecureOption {
}
public function setIsSecure($bool) {
- $this->_isSecure = $bool;
+ $this->_isSecure = TPropertyValue::ensureBoolean($bool);
}
}