From dca9eb9133d9e67d74bc3678064fc9e1c072ad12 Mon Sep 17 00:00:00 2001 From: Chris Penny Date: Thu, 10 Aug 2023 12:53:30 +1200 Subject: [PATCH] Update src/Extension/Publishable/PublishableSiteTree.php Co-authored-by: Steve Boyd --- src/Extension/Publishable/PublishableSiteTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extension/Publishable/PublishableSiteTree.php b/src/Extension/Publishable/PublishableSiteTree.php index 0c154f2f..8d2bdb75 100644 --- a/src/Extension/Publishable/PublishableSiteTree.php +++ b/src/Extension/Publishable/PublishableSiteTree.php @@ -64,7 +64,7 @@ public function objectsToUpdate($context) // URLs will have just changed $forceRecursiveInclusion = $context['urlSegmentChanged'] ?? false; - // We've either been configured to include (some level) of children, or the above context has been set + // We've either been configured to regenerate (some level) of children, or the above context has been set if ($childInclusion !== self::RELATION_INCLUDE_NONE || $forceRecursiveInclusion) { // We will want to recursively add all children if our regenerate_children config was set to Recursive, // or if $forceRecursiveInclusion was set to true