]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Bad route config (thanks brw12)
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 1 Mar 2014 11:01:21 +0000 (12:01 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 1 Mar 2014 11:01:21 +0000 (12:01 +0100)
ben wheeler submitted this bug report with a patch for StatusNet.

lib/router.php

index 23ebe00d6b3699d37a5cb9bfba99c8cb9d74454e..71bf4e8e82d5c9751125f912baef118e19185a24 100644 (file)
@@ -712,11 +712,11 @@ class Router
 
             $m->connect('api/statusnet/groups/join/:id.:format',
                         array('action' => 'ApiGroupJoin',
+                              'id' => Nickname::INPUT_FMT,
                               'format' => '(xml|json)'));
 
             $m->connect('api/statusnet/groups/join.:format',
                         array('action' => 'ApiGroupJoin',
-                              'id' => Nickname::INPUT_FMT,
                               'format' => '(xml|json)'));
 
             $m->connect('api/statusnet/groups/leave/:id.:format',