summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2010-06-23 18:58:20 (GMT)
committer Earl Miles2010-06-23 18:58:20 (GMT)
commit686e2724098209a3812e554f6f5aaa943367d268 (patch)
treefb1960095403114840e164487c175484de335999
parent145e9449bac13ea455cd899acfc7cd613ee5c02b (diff)
Fix bug that causes some layout plugins to not show up.
-rw-r--r--includes/plugins.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/plugins.inc b/includes/plugins.inc
index f98b7a3..da0a8f7 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;