Fix: Bad object
This commit is contained in:
parent
a2641b89e7
commit
f4c9da5e9f
@ -518,7 +518,7 @@ else
|
||||
if ($action != "edit" )
|
||||
{
|
||||
// Validate
|
||||
if ($project->statut == 0 && $user->rights->projet->creer)
|
||||
if ($object->statut == 0 && $user->rights->projet->creer)
|
||||
{
|
||||
if ($userWrite > 0)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user