Fix: Pb de parenthses dans test
This commit is contained in:
parent
a997b6ab4b
commit
0bb3b59df5
@ -460,7 +460,7 @@ else
|
||||
print '<a class="butAction" href="fiche.php?id='.$fuser->id.'&action=password">'.$langs->trans("ReinitPassword").'</a>';
|
||||
}
|
||||
|
||||
if ($user->id == $_GET["id"] or $user->admin && $fuser->email)
|
||||
if (($user->id == $_GET["id"] or $user->admin) && $fuser->email)
|
||||
{
|
||||
print '<a class="butAction" href="fiche.php?id='.$fuser->id.'&action=passwordsend">'.$langs->trans("SendNewPassword").'</a>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user