Make sure current view is really a reference.
authorEarl Miles
Wed, 14 May 2008 01:23:22 +0000 (01:23 +0000)
committerEarl Miles
Wed, 14 May 2008 01:23:22 +0000 (01:23 +0000)
views.module

index a4613e5..f7238d1 100644 (file)
@@ -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;