summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/views.module b/views.module
index a4613e5..f7238d1 100644
--- a/views.module
+++ b/views.module
@@ -413,7 +413,7 @@ function &views_get_page_view() {
function &views_set_current_view(&$view = NULL) {
static $cache = NULL;
if (isset($view)) {
- $cache = $view;
+ $cache = &$view;
}
return $cache;