mirror of
https://github.com/getgrav/grav.git
synced 2026-03-04 11:31:43 +01:00
Return "" if no childType set rather than default
This commit is contained in:
@@ -1126,7 +1126,7 @@ class Page
|
||||
*/
|
||||
public function childType()
|
||||
{
|
||||
return isset($this->header->child_type) ? (string)$this->header->child_type : 'default';
|
||||
return isset($this->header->child_type) ? (string)$this->header->child_type : '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user