Issue #1077902 by dereine: Fix preview on views context displays.
authorEarl Miles
Wed, 2 Mar 2011 00:37:54 +0000 (16:37 -0800)
committerEarl Miles
Wed, 2 Mar 2011 00:37:54 +0000 (16:37 -0800)
views_content/plugins/views/views_content_plugin_display_ctools_context.inc

index a7c82fb..5a3638b 100644 (file)
@@ -62,7 +62,7 @@ class views_content_plugin_display_ctools_context extends views_plugin_display {
    */
   function render() {
     if (!empty($this->previewing)) {
-      return theme($this->theme_functions(), $this->view);
+      return theme($this->theme_functions(), array('view' => $this->view));
     }
     else {
       // We want to process the view like we're theming it, but not actually