php V8 warning
This commit is contained in:
parent
ec52502089
commit
dc2979ad4d
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user