Fix parameter count on hook
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ final class API {
|
||||
|
||||
if (empty($token)) {
|
||||
$errors->add(self::ERROR_EMPTY_TOKEN, Plugin::__('Please complete CAPTCHA verification.'));
|
||||
} else if (!API::verify($token)) {
|
||||
} else if (!self::verify($token)) {
|
||||
$errors->add(self::ERROR_INVALID_CAPTCHA, Plugin::__('Your answer was incorrect - please try again.'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user