From d5b4fe1929109982fa076744396e6b24aabc17ff Mon Sep 17 00:00:00 2001 From: pjayme Date: Wed, 22 Aug 2018 08:43:44 +1200 Subject: [PATCH] changed 'option' variable name to 'options' in places its used --- src/Tasks/ContentReviewEmails.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }