From d3f1f07440e89fe2366de691fd0c96c264ea5752 Mon Sep 17 00:00:00 2001 From: James Gilliland Date: Tue, 24 Apr 2012 15:35:29 -0600 Subject: [PATCH] Correctly pass variables by reference In 5.4 template_preprocess_panels_pane does nothing because the array is not passed by reference. --- panels.module | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/panels.module b/panels.module index ada9c77..8e6f7a4 100644 --- a/panels.module +++ b/panels.module @@ -1126,7 +1126,7 @@ function panels_get_current_page_display($change = NULL) { /** * Clean up the panel pane variables for the template. */ -function template_preprocess_panels_pane($vars) { +function template_preprocess_panels_pane(&$vars) { $content = $vars['output']; // basic classes $vars['classes'] = 'panel-pane'; -- 1.7.4.1