Fix phpcs

This commit is contained in:
Laurent Destailleur 2022-07-08 00:36:42 +02:00
parent 67d17cf289
commit ff7782eb6b

View File

@ -1293,7 +1293,7 @@ if ($action == 'create' && $user->rights->projet->creer) {
print dolGetButtonAction('', $langs->trans('ExportAccountingReportButtonLabel'), 'default', $url, '');
}
*/
// Modify
if ($object->statut != Project::STATUS_CLOSED && $user->rights->projet->creer) {
if ($userWrite > 0) {