diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 804a5804245..ad3d2ed96e6 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -1757,14 +1757,14 @@ else print ''; // Origine de la demande - print '
| '; print $langs->trans('Source'); print ' | '; - if ($action != 'editdemandreason' && $object->brouillon) print 'id.'">'.img_edit($langs->trans('SetDemandReason'),1).' | '; + if ($_GET['action'] != 'editdemandreason' && $object->brouillon) print 'id.'">'.img_edit($langs->trans('SetDemandReason'),1).' | '; print '