From 47ecb91a3ef03044d76b37303ce933b97dd27caf Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 22 Apr 2015 21:17:49 +0200 Subject: [PATCH] Avoid DOS attack when high number of tasks --- htdocs/projet/tasks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/projet/tasks.php b/htdocs/projet/tasks.php index eafe92c5aa4..6d1fb4d8462 100644 --- a/htdocs/projet/tasks.php +++ b/htdocs/projet/tasks.php @@ -350,7 +350,7 @@ if ($action == 'create' && $user->rights->projet->creer && (empty($object->third print ''; } -else +else if ($id > 0 || ! empty($ref)) { /* * Fiche projet en mode visu