diff --git a/code/SideReport.php b/code/SideReport.php index 5dc8ae3a..ef0737bb 100755 --- a/code/SideReport.php +++ b/code/SideReport.php @@ -134,7 +134,7 @@ class SideReport_EmptyPages extends SS_Report { return 100; } function sourceRecords($params = null) { - return DataObject::get("SiteTree", "\"Content\" = '' OR \"Content\" IS NULL OR \"Content\" LIKE '

' OR \"Content\" LIKE '

 

'", '"Title"'); + return DataObject::get("SiteTree", "\"ClassName\" != 'RedirectorPage' AND (\"Content\" = '' OR \"Content\" IS NULL OR \"Content\" LIKE '

' OR \"Content\" LIKE '

 

')", '"Title"'); } function columns() { return array(