Fix: Test sur variable in existante
This commit is contained in:
parent
363e681460
commit
3b8af02f81
@ -88,7 +88,7 @@ dolibarr_fiche_head($head, 'card', $langs->trans("Category"));
|
||||
/*
|
||||
* Confirmation suppression
|
||||
*/
|
||||
if ($_GET['action'] == 'delete' && $resteapayer <= 0)
|
||||
if ($_GET['action'] == 'delete')
|
||||
{
|
||||
$html->form_confirm($_SERVER["PHP_SELF"].'?id='.$c->id,$langs->trans('DeleteCategory'),$langs->trans('ConfirmDeleteCategory'),'confirm_delete');
|
||||
print '<br />';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user