diff --git a/htdocs/projet/fiche.php b/htdocs/projet/fiche.php index abe25de62b7..d4febb2538e 100644 --- a/htdocs/projet/fiche.php +++ b/htdocs/projet/fiche.php @@ -262,7 +262,7 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer) $defaultref = $modProject->getNextValue($soc,$project); } - if (empty($defaultref)) $defaultref=''; + if ($defaultref <= 0) $defaultref=''; // Ref print '