Fix UploadFormField::maximumImageHeight() (#5638)
authorOlaf Braun <info@braun-development.de>
Fri, 1 Sep 2023 09:40:28 +0000 (11:40 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Sep 2023 09:40:28 +0000 (11:40 +0200)
`$maximumImageWidth` instead of `$maximumImageHeight` was overwritten.

[Tim: Rewritten the commit message]

wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php

index 0828dabff6ce3a824089c0c0516a4a2224babc37..68c7727852b195fe15872f67afd8a282abfd6608 100644 (file)
@@ -802,7 +802,7 @@ class UploadFormField extends AbstractFormField
             }
         }
 
-        $this->maximumImageWidth = $maximumImageHeight;
+        $this->maximumImageHeight = $maximumImageHeight;
 
         return $this;
     }