Fix: Test sur variable in existante

This commit is contained in:
Laurent Destailleur 2007-02-23 12:25:17 +00:00
parent 363e681460
commit 3b8af02f81

View File

@ -88,7 +88,7 @@ dolibarr_fiche_head($head, 'card', $langs->trans("Category"));
/* /*
* Confirmation suppression * 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'); $html->form_confirm($_SERVER["PHP_SELF"].'?id='.$c->id,$langs->trans('DeleteCategory'),$langs->trans('ConfirmDeleteCategory'),'confirm_delete');
print '<br />'; print '<br />';