diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index bfbf2b150fc..f6051a7f683 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2009 Laurent Destailleur + * Copyright (C) 2004-2010 Laurent Destailleur * Copyright (C) 2005 Eric Seigne * Copyright (C) 2005-2009 Regis Houssin * @@ -544,7 +544,7 @@ if ($id > 0 || ! empty($ref)) $text.=$notify->confirmMessage(3,$commande->socid); } - $ret=$html->form_confirm($_SERVER["PHP_SELF"].'?id='.$id, $langs->trans('ValidateOrder'), $text, 'confirm_valid', '', 0, ($conf->notification->enabled?0:1)); + $ret=$html->form_confirm($_SERVER["PHP_SELF"].'?id='.$id, $langs->trans('ValidateOrder'), $text, 'confirm_valid', '', 0, 1); if ($ret == 'html') print '
'; } /*