summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgit2018-08-18 15:32:45 (GMT)
committerDamien McKenna2018-08-18 15:32:45 (GMT)
commite19e354618badf48640dfd46db696e21eb7c26f1 (patch)
tree407be103df2791db84b340ce299209ccfc54f03f
parent985412f2720b963a05d0dd94a1ee2aa154b1b933 (diff)
Issue #2900405 by collinhaines, jenlampton, sano, paulbeaney, jyraya: Undefined index in views_handler_filter->store_exposed_input().HEAD7.x-3.x
-rw-r--r--handlers/views_handler_filter.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/handlers/views_handler_filter.inc b/handlers/views_handler_filter.inc
index 9615c30..d685cfd 100644
--- a/handlers/views_handler_filter.inc
+++ b/handlers/views_handler_filter.inc
@@ -1392,7 +1392,9 @@ class views_handler_filter extends views_handler {
$session[$this->options['expose']['operator_id']] = $input[$this->options['expose']['operator_id']];
}
- $session[$this->options['expose']['identifier']] = $input[$this->options['expose']['identifier']];
+ if (isset($input[$this->options['expose']['identifier']])) {
+ $session[$this->options['expose']['identifier']] = $input[$this->options['expose']['identifier']];
+ }
}
}