From 3b8af02f8113da99a7be95448b96800bf56c55fc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 23 Feb 2007 12:25:17 +0000 Subject: [PATCH] Fix: Test sur variable in existante --- htdocs/categories/viewcat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php index 0f04eb2df31..d128d201e99 100644 --- a/htdocs/categories/viewcat.php +++ b/htdocs/categories/viewcat.php @@ -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 '
';