From 866b918335c87c7387819b61e3c85ed6565a3ce9 Mon Sep 17 00:00:00 2001 From: Bob Vincent Date: Fri, 5 Aug 2011 19:29:22 -0400 Subject: [PATCH] Cast the return value of ctools_content_render() to an object. --- .../panels_renderer_standard.class.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/plugins/display_renderers/panels_renderer_standard.class.php b/plugins/display_renderers/panels_renderer_standard.class.php index 99beea36f18eabfb2a9668f571041f3d8b3476d6..d39617e4708c14d7395c8137c46174c4d131479f 100644 --- a/plugins/display_renderers/panels_renderer_standard.class.php +++ b/plugins/display_renderers/panels_renderer_standard.class.php @@ -529,7 +529,7 @@ class panels_renderer_standard { $content = $cache->content; } else { - $content = ctools_content_render($pane->type, $pane->subtype, $pane->configuration, array(), $this->display->args, $this->display->context); + $content = (object)ctools_content_render($pane->type, $pane->subtype, $pane->configuration, array(), $this->display->args, $this->display->context); foreach (module_implements('panels_pane_content_alter') as $module) { $function = $module . '_panels_pane_content_alter'; -- 1.7.6.238.g11ac1.dirty