Pass css_id from panel to layout properly.
authorEarl Miles
Wed, 23 Aug 2006 00:06:12 +0000 (00:06 +0000)
committerEarl Miles
Wed, 23 Aug 2006 00:06:12 +0000 (00:06 +0000)
panels.module

index 85a0d93..297a99f 100644 (file)
@@ -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();