]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix scrolling for groups
authorMeitar Moscovitz <meitarm@gmail.com>
Mon, 26 Jan 2009 15:16:51 +0000 (16:16 +0100)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 26 Jan 2009 15:16:51 +0000 (16:16 +0100)
lib/util.php

index 50e943533dd773e6ebea2220ed3271756dc1feec..3690f0ad543bd4f9bcd01a0e7833c9622dcd3fda 100644 (file)
@@ -887,7 +887,7 @@ function common_fancy_url($action, $args=null)
      case 'newgroup':
         return common_path('group/new');
      case 'showgroup':
-        return common_path('group/'.$args['nickname']);
+        return common_path('group/'.$args['nickname'] . (($args['page']) ? ('?page=' . $args['page']) : ''));
      case 'editgroup':
         return common_path('group/'.$args['nickname'].'/edit');
      case 'joingroup':