diff --git a/lib/member_functions.php b/lib/member_functions.php index 36b687e8e784716bed208d59193ece1a22dfc30f..799131d2501b97c7788741ab5895f9659d1a1186 100644 --- a/lib/member_functions.php +++ b/lib/member_functions.php @@ -80,7 +80,7 @@ function generateLdif($uid, $password, $type, $realname, $username){ $ldif .= "uidNumber: ".$uid."\n"; // make some society specific changes if($type==2){ - $gid=113; + $gid=1130; $homebase="society"; } elseif($type==5){ diff --git a/lib/validation.php b/lib/validation.php index 7aad3c67045c6e35da81158200ab5b0efb024436..cef63884c98349b39394e68689c2592f08dace83 100644 --- a/lib/validation.php +++ b/lib/validation.php @@ -165,7 +165,7 @@ function validSID($SID,$override){ return false; } elseif(sidUsed($SID)){ - $error = "A user with that student ID already exsists, email <a href=\"mailto:admin@sucs.org\">admin@sucs.org</a> if this is an error."; + $error = "A user with that student ID already exists, email <a href=\"mailto:admin@sucs.org\">admin@sucs.org</a> if this is an error."; return false; } elseif(lookupSID($SID)==" "){ @@ -198,7 +198,7 @@ function validRealName($realName,$override){ //check for a sane realname, see comment below elseif (!preg_match("/^([A-Z]([.]+ +[A-Z])*([\']+[A-Z])*[a-z]+[ -]*)+$/", $realName)) { - $error = "Name incorrectly formated, email <a href=\"mailto:admin@sucs.org\">admin@sucs.org</a> if this is an error."; + $error = "Name incorrectly formatted, email <a href=\"mailto:admin@sucs.org\">admin@sucs.org</a> if this is an error."; return false; } /* @@ -219,7 +219,7 @@ function validRealName($realName,$override){ * Robin M. O'Leary is valid * Robin M O'Leary is not * Robin M. OLeary is Not - * Robin M. O'LeaRy is valid (though its not ment to be.. bad side effect of not requireing at least one space...) + * Robin M. O'LeaRy is valid (though its not meant to be.. bad side effect of not requireing at least one space...) * BUT... this alows for McSmith's... which is rather nice :)... and of course delibrate * RObin M O'Leary is not *