diff --git a/includes/plugins.inc b/includes/plugins.inc index f98b7a3fed672fac3d373257ff9a8367fb5120c9..da0a8f745323fe9018fd96de764e93acfdc0e14d 100644 --- a/includes/plugins.inc +++ b/includes/plugins.inc @@ -338,7 +338,7 @@ function panels_get_layouts() { // Go through each and see if there are 'sub' layouts we need to get. foreach ($plugins as $name => $plugin) { if (!empty($plugin['sublayouts callback']) && function_exists($plugin['sublayouts callback'])) { - $layouts = array_merge($plugin['sublayouts callback']($plugin, $name)); + $layouts = array_merge($plugin['sublayouts callback']($plugin, $name), $layouts); } else { $layouts[$name] = $plugin;