From 3c19b91174e8b1bb11ffd6e5040fb3c123fefa1d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 7 Apr 2012 01:03:55 +0200 Subject: [PATCH] Fix: Restore broken feature --- htdocs/contrat/fiche.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index ead4cf8972e..70726cde310 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -1078,9 +1078,9 @@ else { if ($object->statut > 0 && $action != 'activateline' && $action != 'unactivateline') { - $action='activateline'; - if ($objp->statut == 4) $action='unactivateline'; - print ''; + $tmpaction='activateline'; + if ($objp->statut == 4) $tmpaction='unactivateline'; + print ''; print img_edit(); print ''; }