]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #2640 fixes a layout issue due to change in elgg_view_layout()
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 11 Nov 2010 02:01:47 +0000 (02:01 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 11 Nov 2010 02:01:47 +0000 (02:01 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7292 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/groups/all.php

index cf1a483b1049ac703c61ace2609674458fdfc8e4..6e472459d5729bd4e9ee3414bfd91b846a3025bc 100644 (file)
        }
        $area1 .= elgg_view("groups/group_sort_menu", array("count" => $group_count, "filter" => $filter)) . $objects;
 
-       $content = $area1 . $area2;
-       $body = elgg_view_layout('one_column_with_sidebar', array('content' => $content));
+       $params = array(
+               'content' => $area1,
+               'sidebar' => $area2
+       );
+       $body = elgg_view_layout('one_column_with_sidebar', $params);
 
        // Finally draw the page
        echo elgg_view_page($title, $body);
\ No newline at end of file