From 82ed464c993aa96748230beb23efd31ba79252b7 Mon Sep 17 00:00:00 2001 From: Earl Miles Date: Wed, 23 Aug 2006 00:06:12 +0000 Subject: [PATCH] Pass css_id from panel to layout properly. --- panels.module | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/panels.module b/panels.module index 85a0d93..297a99f 100644 --- a/panels.module +++ b/panels.module @@ -684,7 +684,8 @@ function panels_panels_page($did) { $layouts = panels_get_layouts(); $layout = $layouts[$panels->layout]; - + $layout['css_id'] = $panels->css_id; + if (!$layout) { watchdog('panels', t('Unable to find requested layout %s', array('%s' => check_plain($panels->layout)))); return drupal_not_found(); -- 1.7.4.1