FIX #1485:LINEBILL_SUPPLIER_DELETE failure trigger leads to an endless loop
This commit is contained in:
parent
d22bfa8847
commit
0f267559c6
@ -179,6 +179,8 @@ elseif ($action == 'confirm_delete_line' && $confirm == 'yes' && $user->rights->
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$mesg='<div class="error">'.$object->error.'</div>';
|
$mesg='<div class="error">'.$object->error.'</div>';
|
||||||
|
/* Fix bug 1485 : Reset action to avoid asking again confirmation on failure */
|
||||||
|
$action='';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user