Fix saving pages when removing the page title and all other header elements

This commit is contained in:
Flavio Copes
2015-09-17 18:19:37 +02:00
parent 1ae743e60c
commit 2c278c1fde

View File

@@ -821,7 +821,9 @@ class Page
{
$blueprints = $this->blueprints();
$values = $blueprints->filter($this->toArray());
$this->header($values['header']);
if ($values && isset($values['header'])) {
$this->header($values['header']);
}
}
/**