Fix regression in blueprints

This commit is contained in:
Matias Griese
2014-10-02 00:58:47 +03:00
parent 5abc9b320b
commit a8a82e1a3c

View File

@@ -113,7 +113,7 @@ class Blueprint
public function fields()
{
if (!isset($this->fields)) {
$this->fields = [];
$this->fields = isset($this->items['form']['fields']) ? $this->items['form']['fields'] : array();
$this->embed('', $this->items);
}