FIX #1485:LINEBILL_SUPPLIER_DELETE failure trigger leads to an endless loop

This commit is contained in:
Cedric 2014-06-23 12:28:59 +02:00
parent d22bfa8847
commit 0f267559c6

View File

@ -179,6 +179,8 @@ elseif ($action == 'confirm_delete_line' && $confirm == 'yes' && $user->rights->
else
{
$mesg='<div class="error">'.$object->error.'</div>';
/* Fix bug 1485 : Reset action to avoid asking again confirmation on failure */
$action='';
}
}