From 0f267559c6623fe1fcab1686beab99d458157283 Mon Sep 17 00:00:00 2001 From: Cedric Date: Mon, 23 Jun 2014 12:28:59 +0200 Subject: [PATCH] FIX #1485:LINEBILL_SUPPLIER_DELETE failure trigger leads to an endless loop --- htdocs/fourn/facture/fiche.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index 8ea921d094b..dea8285d7de 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -179,6 +179,8 @@ elseif ($action == 'confirm_delete_line' && $confirm == 'yes' && $user->rights-> else { $mesg='
'.$object->error.'
'; + /* Fix bug 1485 : Reset action to avoid asking again confirmation on failure */ + $action=''; } }