diff --git a/docroot/themes/contrib/civictheme/civictheme.post_update.php b/docroot/themes/contrib/civictheme/civictheme.post_update.php index 07e4fb4b7..23918c4a3 100644 --- a/docroot/themes/contrib/civictheme/civictheme.post_update.php +++ b/docroot/themes/contrib/civictheme/civictheme.post_update.php @@ -223,7 +223,7 @@ function (CivicthemeUpdateHelper $helper) use (&$sandbox, $old_field_configs, $f $helper->updateFormDisplay('paragraph', $bundle, $config, $form_display_group_config[$bundle]); } - if ($sandbox['#finished']) { + if ($sandbox['#finished'] >= 1) { $paragraph_types = array_keys($form_display_config); $log = new TranslatableMarkup("Content from field 'field_c_p_column_count' was moved to 'field_c_p_list_column_count'. Content from field 'field_c_p_fill_width' was moved to 'field_c_p_list_fill_width'. diff --git a/docroot/themes/contrib/civictheme/src/CivicthemeUpdateHelper.php b/docroot/themes/contrib/civictheme/src/CivicthemeUpdateHelper.php index 0d01e9bdd..a29a11bb1 100644 --- a/docroot/themes/contrib/civictheme/src/CivicthemeUpdateHelper.php +++ b/docroot/themes/contrib/civictheme/src/CivicthemeUpdateHelper.php @@ -119,7 +119,7 @@ public function update(array &$sandbox, $entity_type, array $entity_bundles, cal $sandbox['#finished'] = empty($sandbox['entities']) ? 1 : ($sandbox['max'] - count($sandbox['entities'])) / $sandbox['max']; - if ($sandbox['#finished']) { + if ($sandbox['#finished'] >= 1) { // Finiished callback. $log = call_user_func($finished_callback, $this);