mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
changed 'option' variable name to 'options' in places its used
This commit is contained in:
parent
156a76a8e5
commit
d5b4fe1929
@ -68,10 +68,10 @@ class ContentReviewEmails extends BuildTask
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$option = $page->getOptions();
|
$options = $page->getOptions();
|
||||||
|
|
||||||
if ($options) {
|
if ($options) {
|
||||||
foreach ($option->ContentReviewOwners() as $owner) {
|
foreach ($options->ContentReviewOwners() as $owner) {
|
||||||
if (!isset($overduePages[$owner->ID])) {
|
if (!isset($overduePages[$owner->ID])) {
|
||||||
$overduePages[$owner->ID] = ArrayList::create();
|
$overduePages[$owner->ID] = ArrayList::create();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user