]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/leaveform.php
Merge branch 'master' of gitorious.org:statusnet/mainline
[quix0rs-gnu-social.git] / lib / leaveform.php
index 1dab6d99e3edd0f8289c55806ca3072855b67a63..5469b5704c0afcad57095b5b9bf52f38a786e6d6 100644 (file)
@@ -28,7 +28,7 @@
  * @link      http://status.net/
  */
 
-if (!defined('LACONICA')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
@@ -100,7 +100,7 @@ class LeaveForm extends Form
     function action()
     {
         return common_local_url('leavegroup',
-                                array('nickname' => $this->group->nickname));
+                                array('id' => $this->group->id));
     }
 
     /**