Skip to content
Snippets Groups Projects
Commit f11744f3 authored by Justin Toupin's avatar Justin Toupin
Browse files

Issue #3260656 by minorOffense: Update from 1.0.0 to 2.x (1013cfce) runs...

Issue #3260656 by minorOffense: Update from 1.0.0 to 2.x (1013cfce) runs forever and watchdog shows error
parent 964e22f3
No related branches found
No related tags found
1 merge request!146Apply patch https://www.drupal.org/project/layout_paragraphs/issues/3260656#comment-14777020
...@@ -54,6 +54,6 @@ function layout_paragraphs_update_9001(&$sandbox) { ...@@ -54,6 +54,6 @@ function layout_paragraphs_update_9001(&$sandbox) {
$sandbox['progress']++; $sandbox['progress']++;
$sandbox['current_pk'] = $id; $sandbox['current_pk'] = $id;
} }
$sandbox['#finished'] = empty($sandbox['max']) ? 1 : $sandbox['progress'] / $sandbox['max']; $sandbox['#finished'] = empty($sandbox['max']) || count($ids) == 0 ? 1 : $sandbox['progress'] / $sandbox['max'];
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment