Fix for issue #17

This commit is contained in:
Diego Sala 2013-07-16 15:18:10 -03:00
parent 60ceeec2b0
commit b639814a7e

View File

@ -564,7 +564,7 @@ class Validator
// Get any other arguments passed to function
$params = array_slice(func_get_args(), 2);
$this->_validations[] = array(
$this->_validations[$rule] = array(
'rule' => $rule,
'fields' => (array) $fields,
'params' => (array) $params,