diff --git a/_config.php b/_config.php index a49331d..3b625d0 100644 --- a/_config.php +++ b/_config.php @@ -3,8 +3,8 @@ Object::add_extension('SiteTree', 'SiteTreeContentReview'); -if(class_exists('Subsite')) { +if(class_exists('Subsite') && class_exists('SubsiteReportWrapper')){ SS_Report::register('ReportAdmin', 'SubsiteReportWrapper("PagesDueForReviewReport")',20); } else { SS_Report::register('ReportAdmin', 'PagesDueForReviewReport',20); -} \ No newline at end of file +}