diff --git a/src/Tasks/ContentReviewEmails.php b/src/Tasks/ContentReviewEmails.php index 2e52873..c59bc56 100644 --- a/src/Tasks/ContentReviewEmails.php +++ b/src/Tasks/ContentReviewEmails.php @@ -68,10 +68,10 @@ class ContentReviewEmails extends BuildTask continue; } - $option = $page->getOptions(); + $options = $page->getOptions(); if ($options) { - foreach ($option->ContentReviewOwners() as $owner) { + foreach ($options->ContentReviewOwners() as $owner) { if (!isset($overduePages[$owner->ID])) { $overduePages[$owner->ID] = ArrayList::create(); }