Added ability to pull values out of relationships, etc. on FormBuilder object value pulls. Closes #1047.
This commit is contained in:
1 parent
0ac2ad7b2c
commit
72ed9898cb
1 file changed
+1
-1
+1
-1
@@ -728,7 +728,7 @@ class FormBuilder {
|
|||||||
|
|
||||||
if (isset($this->model) and isset($this->model[$name]))
|
if (isset($this->model) and isset($this->model[$name]))
|
||||||
{
|
{
|
||||||
return $this->model[$name];
|
return object_get($this->model, $name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user