From b676ed401e2d92015737a8bb1ffe3c97c0d4f232 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 3 Oct 2020 14:14:02 +0200 Subject: [PATCH] merge 10302 --- module/blog/blog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/blog/blog.php b/module/blog/blog.php index 3886b1da..2b5b5ac7 100644 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -512,9 +512,9 @@ class blog extends common { if( $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') //AND $this->getInput('blogArticlecaptcha', helper::FILTER_INT) !== $this->getInput('blogArticlecaptchaFirstNumber', helper::FILTER_INT) + $this->getInput('blogArticlecaptchaSecondNumber', helper::FILTER_INT)) - AND password_verify($this->getInput('blogArticlecaptcha', helper::FILTER_INT), $this->getInput('blogArticlecaptchaResult') ) === false ) + AND password_verify($this->getInput('blogArticleCapcha', helper::FILTER_INT), $this->getInput('blogArticleCapchaResult') ) === false ) { - self::$inputNotices['blogArticlecaptcha'] = 'Incorrect'; + self::$inputNotices['blogArticleCapcha'] = 'Incorrect'; } // Crée le commentaire $commentId = helper::increment(uniqid(), $this->getData(['module', $this->getUrl(0), $this->getUrl(1), 'comment']));