Commit 680215e8 authored by Karen Stevenson's avatar Karen Stevenson
Browse files

#1059682 by mfb, fix processing when there are no nodes to process.

parent fc59cb8e
......@@ -299,6 +299,9 @@ function _content_migrate_batch_process_migrate_data($field_name, &$context) {
// Process one node in each batch.
$node = array_shift($context['sandbox']['nodes']);
if (!$node) {
// Construct an record to insert into the new field table
// from the data in the old table.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment