diff --git a/code/Reports/EmptyPagesReport.php b/code/Reports/EmptyPagesReport.php index 63466ef7..025a5243 100644 --- a/code/Reports/EmptyPagesReport.php +++ b/code/Reports/EmptyPagesReport.php @@ -27,8 +27,8 @@ class EmptyPagesReport extends Report public function sourceRecords($params = null) { return SiteTree::get() - ->exclude('SiteTree.ClassName', RedirectorPage::class) - ->filter('SiteTree.Content', [null, '', '
', '']) + ->exclude('ClassName', RedirectorPage::class) + ->filter('Content', [null, '', '', '
']) ->sort('Title'); }