$gdesc = $_REQUEST["groupdesc"];
$owner = $_REQUEST["groupowner"];
- //gwvp_getGroup($gid = null, $gname = null)
- if($isadmin) error_log("admin true");
- else error_log("admin not true");
-
if(gwvp_getGroup(null, $gname)) {
$_SESSION["sendback_owner"] = "groups";
$_SESSION["sendback"] = true;
$data["groupdesc"] = $gdesc;
$data["groupowner"] = $owner;
if($isadmin) $data["admingroup"] = "checked";
- //else $data["admingroup"] = "";
+ else $data["admingroup"] = "";
$data["groupnamestar"] = true;
gwvp_SendMessage("error", "Group name in use");