Add brackets to if statement

This commit is contained in:
Miles Lott 2001-05-26 21:26:37 +00:00
parent 201db9cb5e
commit e8e9e32025

View File

@ -163,7 +163,9 @@
{ // this could be fatal if one already has an user with account_lid == uid { // this could be fatal if one already has an user with account_lid == uid
// $thisacctid = $acct_exist; // and uses the LDAP uidnumber for an unix account // $thisacctid = $acct_exist; // and uses the LDAP uidnumber for an unix account
if ($acct_exist != $thisacctid) if ($acct_exist != $thisacctid)
{
echo "<p>WARNING: user '$thisacctlid'=$thisacctid already exist in SQL under the account_id=$acct_exist</p>"; echo "<p>WARNING: user '$thisacctlid'=$thisacctid already exist in SQL under the account_id=$acct_exist</p>";
}
} }
$id_exist = $accounts->exists(intval($thisacctid)); $id_exist = $accounts->exists(intval($thisacctid));
// If the account does not exist in _both_ (== returnvalue < 3) create it // If the account does not exist in _both_ (== returnvalue < 3) create it