Fix: Bad object

This commit is contained in:
Laurent Destailleur 2012-08-03 18:53:31 +02:00
parent a2641b89e7
commit f4c9da5e9f

View File

@ -518,7 +518,7 @@ else
if ($action != "edit" ) if ($action != "edit" )
{ {
// Validate // Validate
if ($project->statut == 0 && $user->rights->projet->creer) if ($object->statut == 0 && $user->rights->projet->creer)
{ {
if ($userWrite > 0) if ($userWrite > 0)
{ {