summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2009-01-31 19:48:31 (GMT)
committer Earl Miles2009-01-31 19:48:31 (GMT)
commit4d359297fc25eb8cef3332d92caa066d8247e1a5 (patch)
treeb94989b0c8cd8400143728c8fa748ba94c303da8
parent11957a681e3b030f4441aa17ec2aed64339fa247 (diff)
#357196 by Grugnog: hook_views_pre_view not getting $display_id sent properly.
-rw-r--r--CHANGELOG.txt1
-rw-r--r--includes/view.inc1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 1d6cdb6..5a00344 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -100,6 +100,7 @@ Views 2.3
o #367203: Improper caching of default views caused incomplete handlers that could WSOD.
o #365283: views_handler_filter_ncs_last_updated improperly registered causing fatal errors trying to use it.
o #365712: select list exposed filters were trying to limit to list when selecting "All" even when "limit" was not selected.
+ o #357196 by Grugnog: hook_views_pre_view not getting $display_id sent properly.
Other changes:
o #288801 by drewish and eaton: Aggregator item support! Make views of feeds!
diff --git a/includes/view.inc b/includes/view.inc
index 284f10d..715cf66 100644
--- a/includes/view.inc
+++ b/includes/view.inc
@@ -862,6 +862,7 @@ class view extends views_db_object {
function pre_execute($args = array()) {
$this->old_view[] = views_get_current_view();
views_set_current_view($this);
+ $display_id = $this->current_display;
// Let modules modify the view just prior to executing it.
foreach (module_implements('views_pre_view') as $module) {