diff --git a/code/SideReport.php b/code/SideReport.php index d314a1d1..df76db2b 100755 --- a/code/SideReport.php +++ b/code/SideReport.php @@ -138,7 +138,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(