Skip to content
Snippets Groups Projects
Commit 294279ce authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix minor bugs.

parent 534ce0ba
No related branches found
No related tags found
No related merge requests found
......@@ -187,7 +187,7 @@ function INFORMLEADERS($this_user) {
}
if (strcmp($status, TBDB_USERSTATUS_UNVERIFIED) == 0) {
$this_user->SetStatus(TBDB_USERSTATUS_ACTIVE());
$this_user->SetStatus(TBDB_USERSTATUS_ACTIVE);
TBMAIL($TBMAIL_AUDIT,
"User '$uid' has been verified",
......@@ -207,9 +207,9 @@ if (strcmp($status, TBDB_USERSTATUS_UNVERIFIED) == 0) {
}
elseif (strcmp($status, TBDB_USERSTATUS_NEWUSER) == 0) {
$newstatus = ($wikionly ?
TBDB_USERSTATUS_ACTIVE() : TBDB_USERSTATUS_UNAPPROVED());
TBDB_USERSTATUS_ACTIVE : TBDB_USERSTATUS_UNAPPROVED);
$this_user->SetStatus(TBDB_USERSTATUS_UNAPPROVED());
$this_user->SetStatus($newstatus);
TBMAIL($TBMAIL_AUDIT,
"User '$uid' has been verified",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment