Added ability to pull values out of relationships, etc. on FormBuilder object value pulls. Closes #1047.

This commit is contained in:
Taylor Otwell committed 2013-05-01 08:37:35 -05:00
1 parent 0ac2ad7b2c
commit 72ed9898cb
1 file changed
+1 -1
+1 -1
View File
@@ -728,7 +728,7 @@ class FormBuilder {
if (isset($this->model) and isset($this->model[$name]))
{
return $this->model[$name];
return object_get($this->model, $name);
}
}