Return "" if no childType set rather than default

This commit is contained in:
Andy Miller
2017-04-12 10:28:55 -06:00
parent 619dc30aca
commit 56e58f3b5e

View File

@@ -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 : '';
}
/**