a style no longer needs a description
authorMarcel Werk <burntime@woltlab.com>
Mon, 21 Dec 2015 12:43:48 +0000 (13:43 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 21 Dec 2015 12:43:48 +0000 (13:43 +0100)
wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php

index 481f03e27b13d82b5edfb1ad1d93650c3701d876..d1e370fd4bc8e0dce3fbf189a275c57e581b03aa 100644 (file)
@@ -303,11 +303,6 @@ class StyleAddForm extends AbstractForm {
                        }
                }
                
-               // validate style description
-               if (!I18nHandler::getInstance()->validateValue('styleDescription', true, true)) {
-                       throw new UserInputException('styleDescription');
-               }
-               
                // validate template group id
                if ($this->templateGroupID) {
                        if (!isset($this->availableTemplateGroups[$this->templateGroupID])) {