Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
cck
Commits
680215e8
Commit
680215e8
authored
Feb 12, 2011
by
Karen Stevenson
Browse files
#1059682
by mfb, fix processing when there are no nodes to process.
parent
fc59cb8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/content_migrate/includes/content_migrate.admin.inc
View file @
680215e8
...
...
@@ -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
)
{
return
;
}
// Construct an record to insert into the new field table
// from the data in the old table.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment