Open alessandromarotta opened 4 years ago
$this->getCatalogParents() can be NULL (if no "parent_class" has been set) or a DATALIST (SiteTree), so before to call the count() method we need to check if it's not null otherwise we get a Warning massage
$this->getCatalogParents() can be NULL (if no "parent_class" has been set) or a DATALIST (SiteTree), so before to call the count() method we need to check if it's not null otherwise we get a Warning massage