Vergleich managegroup.php - 1.6.9 - 1.6.13

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 12Zeile 12
define("IN_MYBB", 1);
define('THIS_SCRIPT', 'managegroup.php');


define("IN_MYBB", 1);
define('THIS_SCRIPT', 'managegroup.php');


$templatelist = "managegroup_leaders_bit, managegroup_leaders, postbit_pm, postbit_email, managegroup_user_checkbox, managegroup_user, managegroup_adduser, managegroup_removeusers, managegroup,managegroup_joinrequests_request, managegroup_joinrequests";


$templatelist = "managegroup_leaders_bit,managegroup_leaders,postbit_pm,postbit_email,managegroup_user_checkbox,managegroup_user,managegroup_adduser,managegroup_removeusers,managegroup,managegroup_joinrequests_request,managegroup_joinrequests";
$templatelist .= ",managegroup_requestnote,managegroup_no_users,multipage_prevpage,multipage_start,multipage_page_current,multipage_page,multipage_end,multipage_nextpage,multipage";


require_once "./global.php";



require_once "./global.php";


Zeile 59Zeile 60
		if ($user['usergroup'] != $gid && !in_array($gid, $additionalgroups))
{
join_usergroup($user['uid'], $gid);

		if ($user['usergroup'] != $gid && !in_array($gid, $additionalgroups))
{
join_usergroup($user['uid'], $gid);

 
			$db->delete_query("joinrequests", "uid='{$user['uid']}' AND gid='{$gid}'");

			redirect("managegroup.php?gid=".$gid, $lang->user_added);
}
else

			redirect("managegroup.php?gid=".$gid, $lang->user_added);
}
else