From: Joshua Rüsweg Date: Thu, 10 Jan 2019 13:26:27 +0000 (+0100) Subject: Remove explicit casting X-Git-Tag: 5.2.0_Alpha_1~296^2~45 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=df81a6e8680975c55e653d996309a368edefcf91;p=GitHub%2FWoltLab%2FWCF.git Remove explicit casting See #2825 --- diff --git a/wcfsetup/install/files/lib/system/file/upload/UploadField.class.php b/wcfsetup/install/files/lib/system/file/upload/UploadField.class.php index d1206bfc81..4ee6027279 100644 --- a/wcfsetup/install/files/lib/system/file/upload/UploadField.class.php +++ b/wcfsetup/install/files/lib/system/file/upload/UploadField.class.php @@ -144,6 +144,6 @@ class UploadField { * @param boolean $imageOnly */ public function setImageOnly($imageOnly) { - $this->imageOnly = (bool) $imageOnly; + $this->imageOnly = $imageOnly; } }