Skip to content

Commit

Permalink
Merge branch '2022.5.3_rc' into 2022.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
aspangaro committed Sep 13, 2023
2 parents ff73871 + c16a88c commit b5b84d8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions htdocs/custom/oblyon/core/menus/standard/oblyon.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,12 @@ function print_oblyon_menu($db, $atarget, $type_user = 0, &$tabMenu, &$menu, $no
$idsel='project';

if (empty($noout)) print_start_menu_entry($idsel,$itemsel,$showmode);
if (empty($noout)) print_text_menu_entry($langs->trans("MenuProjectsOpportunities"), $showmode, DOL_URL_ROOT.'/projet/index.php?mainmenu=project&leftmenu=', $id, $idsel, $atarget);
if (empty($noout)) print_end_menu_entry($showmode);
if (!empty($conf->global->PROJECT_FORCE_LIST_ACCESS)) {
if (empty($noout)) print_text_menu_entry($langs->trans("MenuProjectsOpportunities"), $showmode, DOL_URL_ROOT . '/projet/list.php?mainmenu=project&leftmenu=', $id, $idsel, $atarget);
} else {
if (empty($noout)) print_text_menu_entry($langs->trans("MenuProjectsOpportunities"), $showmode, DOL_URL_ROOT . '/projet/index.php?mainmenu=project&leftmenu=', $id, $idsel, $atarget);
}
if (empty($noout)) print_end_menu_entry($showmode);
$title = $langs->trans("LeadsOrProjects"); // Leads and opportunities by default
$showmodel = $showmodep = $showmode;
if (empty($conf->global->PROJECT_USE_OPPORTUNITIES))
Expand Down

0 comments on commit b5b84d8

Please sign in to comment.