Merge pull request #15858 from frederic34/patch-10

syntax error
This commit is contained in:
Laurent Destailleur 2021-01-04 14:07:56 +01:00 committed by GitHub
commit 00cb253873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -374,8 +374,7 @@ if (empty($reshook))
$action = 'create';
}
}
} elseif ($action == 'classin' && $user->rights->contrat->creer)
{
} elseif ($action == 'classin' && $user->rights->contrat->creer) {
$object->setProject(GETPOST('projectid'));
}