Fixed UserRankAddForm
authorMagnus Kühn <magnus.khn@gmail.com>
Sat, 22 Jun 2013 06:54:39 +0000 (08:54 +0200)
committerMagnus Kühn <magnus.khn@gmail.com>
Sat, 22 Jun 2013 06:54:39 +0000 (08:54 +0200)
wcfsetup/install/files/lib/acp/form/UserRankAddForm.class.php

index 8944bbff442da2fd2591b0e1a77f89238621e330..2d0b1621f573f39daa7cc2398c0c0835ae6b485b 100644 (file)
@@ -1,6 +1,5 @@
 <?php
 namespace wcf\acp\form;
-use wcf\data\package\PackageCache;
 use wcf\data\user\group\UserGroup;
 use wcf\data\user\rank\UserRankAction;
 use wcf\data\user\rank\UserRankEditor;
@@ -203,7 +202,8 @@ class UserRankAddForm extends AbstractForm {
                
                // reset values
                $this->rankTitle = $this->cssClassName = $this->customCssClassName = $this->rankImage = '';
-               $this->groupID = $this->repeatImage = $this->requiredPoints = $this->requiredGender = 0;
+               $this->groupID = $this->requiredPoints = $this->requiredGender = 0;
+               $this->repeatImage = 1;
                
                I18nHandler::getInstance()->reset();