mirror of
https://github.com/getgrav/grav.git
synced 2026-07-08 13:42:04 +02:00
Fix saving pages when removing the page title and all other header elements
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user