Skip to content

Commit

Permalink
fixed: default routing for /groups
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed May 26, 2016
1 parent 42e6e64 commit d0c38db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/ColdTrick/GroupTools/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static function groups($hook, $type, $return_value, $params) {
$resource_loaded = false;

$page = elgg_extract('segments', $return_value);
switch ($page[0]) {
switch (elgg_extract(0, $page, 'all')) {
case 'all':
// prepare tab listing settings
group_tools_prepare_listing_settings();
Expand Down

0 comments on commit d0c38db

Please sign in to comment.