diff --git a/node_export.module b/node_export.module index 8bdadb9..5bac1a3 100755 --- a/node_export.module +++ b/node_export.module @@ -258,7 +258,7 @@ function node_export_bulk_operation($nodes = NULL, $format = NULL, $delivery = N function node_export_action_info() { $actions = array(); if (user_access('export nodes')) { - $selected_formats = variable_get('node_export_format', array('drupal')); + $selected_formats = variable_get('node_export_format', array('drupal' => 'drupal')); $format_handlers = node_export_format_handlers(); foreach ($format_handlers as $format_handler => $format) { if (!empty($selected_formats[$format_handler])) { @@ -297,7 +297,7 @@ function node_export_action_form($context, &$form_state, $format = NULL) { // Get the name of the vbo views field $vbo = _views_bulk_operations_get_field($form_state['build_info']['args'][0]); // Adjust the selection in case the user chose 'select all' - _views_bulk_operations_adjust_selection($form_state['selection'], $form_state['select_all_pages'], $vbo); + views_bulk_operations_execute($vbo, $form_state['operation'], $form_state['selection'], $form_state['select_all_pages']); $nodes = array_combine($form_state['selection'], $form_state['selection']); return node_export_bulk_operation($nodes); }