laravel/framework — pull request #1935 by kyjan (2013-07-23 12:08:05+00:00)
Title: Check if relation is in whitelist

The relationsToArray function should check if the relation is within the whitelist, if a withelist exists.