summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/view.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/view.inc b/includes/view.inc
index f852d48..545cf9c 100644
--- a/includes/view.inc
+++ b/includes/view.inc
@@ -1630,6 +1630,7 @@ class view extends views_db_object {
$errors = array();
+ $current_display = $this->current_display;
foreach ($this->display as $id => $display) {
if ($display->handler) {
if (!empty($display->deleted)) {
@@ -1644,6 +1645,7 @@ class view extends views_db_object {
}
}
+ $this->set_display($current_display);
return $errors ? $errors : TRUE;
}
}