]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/joinform.php
debug output when saving new mapping
[quix0rs-gnu-social.git] / lib / joinform.php
index 47c94dd4582b935c00c2beae97d371a11c038b75..aa8bc20e24511c5078b55c6ffc63c9e10bef2c9a 100644 (file)
@@ -28,7 +28,7 @@
  * @link      http://status.net/
  */
 
-if (!defined('STATUSNET')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
@@ -100,7 +100,7 @@ class JoinForm extends Form
     function action()
     {
         return common_local_url('joingroup',
-                                array('nickname' => $this->group->nickname));
+                                array('id' => $this->group->id));
     }
 
     /**