From 91fe41a5ad8be394fa4adec5ee22f75c05cd7fb6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 31 Dec 2007 12:59:18 +0000 Subject: [PATCH] Fix: Modif notes non effective --- htdocs/commande/note.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/htdocs/commande/note.php b/htdocs/commande/note.php index 2c4aedb579b..46a2114a85c 100644 --- a/htdocs/commande/note.php +++ b/htdocs/commande/note.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2006 Laurent Destailleur + * Copyright (C) 2004-2007 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -17,7 +17,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ */ /** @@ -56,7 +55,7 @@ $commande->fetch($_GET["id"]); /* Actions */ /******************************************************************************/ -if ($_POST["action"] == 'update_public' && $user->rights->facture->creer) +if ($_POST["action"] == 'update_public' && $user->rights->commande->creer) { $db->begin(); @@ -72,7 +71,7 @@ if ($_POST["action"] == 'update_public' && $user->rights->facture->creer) } } -if ($_POST["action"] == 'update' && $user->rights->facture->creer) +if ($_POST["action"] == 'update' && $user->rights->commande->creer) { $db->begin();