php V8 warning

This commit is contained in:
BENKE Charlene 2022-06-08 09:02:24 +02:00 committed by GitHub
parent ec52502089
commit dc2979ad4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,7 +208,7 @@ function project_prepare_head(Project $project, $moreparam = '')
$h++;
}
if ($conf->eventorganization->enabled && !empty($project->usage_organize_event)) {
if (!empty($conf->eventorganization->enabled) && !empty($project->usage_organize_event)) {
$langs->load('eventorganization');
$head[$h][0] = DOL_URL_ROOT . '/eventorganization/conferenceorbooth_list.php?projectid=' . $project->id;
$head[$h][1] = $langs->trans("EventOrganization");