From: Olaf Braun Date: Fri, 1 Sep 2023 09:40:28 +0000 (+0200) Subject: Fix UploadFormField::maximumImageHeight() (#5638) X-Git-Tag: 6.0.0_Beta_4~12^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2af0cae2d532ac5194223e989b597f1092679c73;p=GitHub%2FWoltLab%2FWCF.git Fix UploadFormField::maximumImageHeight() (#5638) `$maximumImageWidth` instead of `$maximumImageHeight` was overwritten. [Tim: Rewritten the commit message] --- diff --git a/wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php index 0828dabff6..68c7727852 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php @@ -802,7 +802,7 @@ class UploadFormField extends AbstractFormField } } - $this->maximumImageWidth = $maximumImageHeight; + $this->maximumImageHeight = $maximumImageHeight; return $this; }