From bef5754e4676a8a578550b6af24d050a946405eb Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 3 Nov 2016 23:22:40 +0100 Subject: * more strict function definitions --- app/frontend/components/FileUploadSecureOption.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/frontend/components') 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); } } -- cgit v1.2.3