Fix Undefined array key

Fix Undefined array key 1 in htdocs/core/lib/project.lib.php on line 314
This commit is contained in:
Frédéric FRANCE 2021-10-24 09:33:54 +02:00 committed by GitHub
parent 5d6ba8a2d5
commit 6d2cedb439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -311,7 +311,7 @@ function project_prepare_head(Project $project, $moreparam = '')
}
$head[$h][0] = DOL_URL_ROOT.'/projet/info.php?id='.$project->id;
$head[$h][1] .= $langs->trans("Events");
$head[$h][1] = $langs->trans("Events");
if (!empty($conf->agenda->enabled) && (!empty($user->rights->agenda->myactions->read) || !empty($user->rights->agenda->allactions->read))) {
$head[$h][1] .= '/';
$head[$h][1] .= $langs->trans("Agenda");