laravel/framework — pull request #1838 by ceesvanegmond (2013-07-09 12:11:45+00:00)
Title: Small fix for providing an zero (integer) to the validateAccept function

If 0 (integer), is passed to the validateAccept function, the function always returns 1. This small fix will prevent that the 'in_array' function returns zero if there is an zero (integer) provided as $value.