changed 'option' variable name to 'options' in places its used

This commit is contained in:
pjayme 2018-08-22 08:43:44 +12:00
parent 156a76a8e5
commit d5b4fe1929

View File

@ -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();
}