laravel/framework — pull request #2038 by ceesvanegmond (2013-08-05 21:11:06+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.