laravel/framework — pull request #1853 by bastiaan89 (2013-07-11 15:23:31+00:00)
Title: Fix relation field values in a Form

Because of ``isset($this->model[$name])``, it was not possible to have fields pre-filled with values of a Model's relationships (__offsetGet simply returns the attribute of the given name, which doesn't work for relations).

I've removed this check because 1) the model value is the last fallback so this won't prevent lower ranked values from being filled in and 2) ``object_get()`` is used for resolving the given attribute of the Model, which supports the dot syntax.

With this fix, ``Form::text('modelrelation.relationattribute')`` will return the proper value if no session or hardcoded values exist.