diff --git a/core/lib/Drupal/Core/Config/ConfigImporter.php b/core/lib/Drupal/Core/Config/ConfigImporter.php index 5a896c8261..6566d4f7b4 100644 --- a/core/lib/Drupal/Core/Config/ConfigImporter.php +++ b/core/lib/Drupal/Core/Config/ConfigImporter.php @@ -664,7 +664,7 @@ protected function processPostImportHooks(&$context) { return; } - if (isset($sandbox['post_config_import']['total'])) { + if (!isset($sandbox['post_config_import']['total'])) { $sandbox['post_config_import']['total'] = count($pending); } $context['finished'] = ($sandbox['post_config_import']['total'] - count($pending)) / $sandbox['post_config_import']['total'];