diff --git a/views.module b/views.module index d799527..9ba2aab 100644 --- a/views.module +++ b/views.module @@ -965,7 +965,7 @@ function vpr_trace() { function views_exposed_form(&$form_state) { // Don't show the form when batch operations are in progress. $batch =& batch_get(); - if (!empty($batch)) { + if (!empty($batch) && isset($batch['current_set'])) { return array( // Set the theme callback to be nothing to avoid errors in template_preprocess_views_exposed_form(). '#theme' => '',