Resolves #64517: CaptchaValidator::isValid should be protected
authorstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Mon, 26 Jan 2015 17:32:19 +0000 (17:32 +0000)
committerstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Mon, 26 Jan 2015 17:32:19 +0000 (17:32 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/sr_freecap/trunk@88277 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
Classes/Validation/Validator/CaptchaValidator.php

index fa7d399..b37f201 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-26  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Resolves #64517: CaptchaValidator::isValid should be protected
+
 2014-09-22  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Resolves #61756: Storing session data prevents correct handling of session data in other extensions (Thanks to Daniel Minder)
index 8f19bbb..ef5715a 100644 (file)
@@ -42,7 +42,7 @@ class CaptchaValidator extends \TYPO3\CMS\Extbase\Validation\Validator\AbstractV
         * @param string $word: the word that was entered and should be validated
         * @return boolean TRUE, if the word entered matches the hash value, FALSE if an error occured
         */
-       public function isValid ($word) {
+       protected function isValid ($word) {
                $isValid = FALSE;
                $this->errors = array();
                // Get session data