Permalink
Browse files

BUGFIX: Check for class_exists in contentreview

  • Loading branch information...
lingo committed Mar 1, 2010
1 parent 379d283 commit eed8ad2918c259c647f89b27b0203cd943492ced
Showing with 2 additions and 2 deletions.
  1. +2 −2 _config.php
View
@@ -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);
-}
+}

0 comments on commit eed8ad2

Please sign in to comment.