
Andy Ward - 2011-07-14 08:59:40
Hi,
I had the need to validate two form fields with respect to each other. Essentially a From Date and a To Date.
The line in the protected function validateFields()
has the following line:
$this->error($id, $this->validator->{$validatorFunc}($value, array_slice($args, 2)),$this->input);
I believe it SHOULD read
$this->error($id, $this->validator->{$validatorFunc}($value, array_slice($args, 2),$this->input));
The second close bracket after $args,2 should be at the end of the line.
Great class. Love it
Highlawn