X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fleaveform.php;h=5469b5704c0afcad57095b5b9bf52f38a786e6d6;hb=2bf8a68908fef5d4680235c561912b5e3c2ee4da;hp=7068da0eb7692e9f01ea47663bbc51eec56b4ab5;hpb=be5d113fc684fcbe41b8374c62bfeb0f267216b7;p=quix0rs-gnu-social.git diff --git a/lib/leaveform.php b/lib/leaveform.php index 7068da0eb7..5469b5704c 100644 --- a/lib/leaveform.php +++ b/lib/leaveform.php @@ -28,7 +28,7 @@ * @link http://status.net/ */ -if (!defined('STATUSNET')) { +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)); } /**