From 2af0cae2d532ac5194223e989b597f1092679c73 Mon Sep 17 00:00:00 2001 From: Olaf Braun Date: Fri, 1 Sep 2023 11:40:28 +0200 Subject: [PATCH] Fix UploadFormField::maximumImageHeight() (#5638) `$maximumImageWidth` instead of `$maximumImageHeight` was overwritten. [Tim: Rewritten the commit message] --- .../lib/system/form/builder/field/UploadFormField.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1