Add on to accepted.

This commit is contained in:
Taylor Otwell 2013-01-05 13:48:36 -06:00
parent 6a69979376
commit 19b01b1d27
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ protected function validate_confirmed($attribute, $value)
*/ */
protected function validate_accepted($attribute, $value) protected function validate_accepted($attribute, $value)
{ {
return $this->validate_required($attribute, $value) and ($value == 'yes' or $value == '1'); return $this->validate_required($attribute, $value) and ($value == 'yes' or $value == '1' or $value == 'on');
} }
/** /**