From 7174e0a5f147cbb5e3ac2bd0680ef23d9249a564 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 13 Jun 2006 22:53:24 +0000 Subject: [PATCH] Fix: Si on a droit de modifier mot de passe on ne doit pas pour autant avoir droit de modifier autre info --- htdocs/user/fiche.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php index fb1f79ac178..6fee56868af 100644 --- a/htdocs/user/fiche.php +++ b/htdocs/user/fiche.php @@ -257,11 +257,7 @@ if ($_POST["action"] == 'update' && $caneditfield) // Action modif mot de passe if ((($_POST["action"] == 'confirm_password' && $_POST["confirm"] == 'yes') -<<<<<<< fiche.php || $_GET["action"] == 'confirm_passwordsend') && $caneditpassword) -======= - || $_GET["action"] == 'confirm_passwordsend') && ($caneditperms || $caneditpassword)) ->>>>>>> 1.91 { $edituser = new User($db, $_GET["id"]); $edituser->fetch();