Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Remove BC break in Identical validator #3869
A BC break was introduced a few days ago in Identical component (fcbe185#library/Zend/Validator/Identical.php).
My use case which was valid was specifying the token as a single value:
$inputFilter->add(array( 'name' => 'accept', 'validators' => array( array( 'name' => 'Identical', 'options' => array( 'token' => '1', 'messages' => array( 'notSame' => 'Vous devez d\'abord accepter la charte de Capitaine Job !' ) ) ) ) ));
However this was not accepted anymore because it threw in exception.