From 7df69117e212c278b2ae0136fd282d872102f08f Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 13 Mar 2012 14:32:38 +0100 Subject: [PATCH] Fixed return value --- wcfsetup/install/files/lib/system/upload/UploadFile.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/system/upload/UploadFile.class.php b/wcfsetup/install/files/lib/system/upload/UploadFile.class.php index 76074b3ac8..7a0158818d 100644 --- a/wcfsetup/install/files/lib/system/upload/UploadFile.class.php +++ b/wcfsetup/install/files/lib/system/upload/UploadFile.class.php @@ -146,6 +146,8 @@ class UploadFile { $this->validationErrorType = 'invalidExtension'; return false; } + + return true; } /** -- 2.20.1