Change `notValid` to `invalid`
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / acp / form / CaptchaQuestionAddForm.class.php
index 52e11878c80227e7a4c031e172c2ac05180f41a1..51a6465a3647361df8bbf40f7d6b59ead9634e12 100644 (file)
@@ -154,7 +154,7 @@ class CaptchaQuestionAddForm extends AbstractForm {
                                        if (!$regexLength || !Regex::compile(mb_substr($answer, 1, $regexLength))->isValid()) {
                                                $this->invalidRegex = $answer;
                                                
-                                               throw new UserInputException('answers', 'regexNotValid');
+                                               throw new UserInputException('answers', 'invalidRegex');
                                        }
                                }
                        }
@@ -167,7 +167,7 @@ class CaptchaQuestionAddForm extends AbstractForm {
                                        if (!$regexLength || !Regex::compile(mb_substr($answer, 1, $regexLength))->isValid()) {
                                                $this->invalidRegex = $answer;
                                                
-                                               throw new UserInputException('answers', 'regexNotValid');
+                                               throw new UserInputException('answers', 'invalidRegex');
                                        }
                                }
                        }