X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fleaveform.php;h=5469b5704c0afcad57095b5b9bf52f38a786e6d6;hb=a5de2152672f49ad95f114033ef6bf00ece9a0ab;hp=1dab6d99e3edd0f8289c55806ca3072855b67a63;hpb=ae883ceb9b4689f6c1dd3aecdc4a844eda7d179a;p=quix0rs-gnu-social.git diff --git a/lib/leaveform.php b/lib/leaveform.php index 1dab6d99e3..5469b5704c 100644 --- a/lib/leaveform.php +++ b/lib/leaveform.php @@ -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)); } /**