From f8d798c031fb26af9b010ce4b6bae5185131c4ed Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 27 Feb 2010 23:42:45 +0000 Subject: [PATCH] Fix: Error on project creation --- htdocs/projet/fiche.php | 3 ++- htdocs/projet/project.class.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/projet/fiche.php b/htdocs/projet/fiche.php index 19a58c6f2c3..7f990b2f12b 100644 --- a/htdocs/projet/fiche.php +++ b/htdocs/projet/fiche.php @@ -296,8 +296,9 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer) print ''; print ''; - print ''; print ''; + + print '
'; print ''; } diff --git a/htdocs/projet/project.class.php b/htdocs/projet/project.class.php index e7ec3221d64..945de0fbefb 100644 --- a/htdocs/projet/project.class.php +++ b/htdocs/projet/project.class.php @@ -176,7 +176,7 @@ class Project extends CommonObject // End call triggers } - $result = 0; + $result = 1; } else {