diff --git a/includes/view.inc b/includes/view.inc index 4fd0afd5235775e788a0786fde5880b2e8195b21..d8c0c1f5e92587236e78eb50c9e66a95c93c49d5 100644 --- a/includes/view.inc +++ b/includes/view.inc @@ -960,10 +960,10 @@ class view extends views_db_object { if ($this->display_handler->uses_exposed()) { $exposed_form = $this->display_handler->get_plugin('exposed_form'); - // (1) Record the errors before rendering the exposed form widgets + // (1) Record the errors before rendering the exposed form widgets. $errors_before = form_set_error(); $this->exposed_widgets = $exposed_form->render_exposed_form(); - // (2) Record the errors after rendering the exposed form widgets + // (2) Record the errors after rendering the exposed form widgets. $errors_after = form_set_error(); // Find out if the validation of any of the elements in the exposed form // has failed by comparing (1) and (2) above. Don't mess with the view