deactivate non-existing rating tab

This commit is contained in:
Christian Foellmann 2022-08-18 17:38:19 +02:00
parent 83cb1086c1
commit 7b113cbbb6

View File

@ -41,12 +41,12 @@ function recruitmentCandidaturePrepareHead($object)
$head[$h][2] = 'card'; $head[$h][2] = 'card';
$h++; $h++;
if ($conf->global->MAIN_FEATURES_LEVEL >= 2) { // if ($conf->global->MAIN_FEATURES_LEVEL >= 2) {
$head[$h][0] = dol_buildpath("/recruitment/recruitmentrating_card.php", 1).'?id='.$object->id; // $head[$h][0] = dol_buildpath("/recruitment/recruitmentrating_card.php", 1).'?id='.$object->id;
$head[$h][1] = $langs->trans("Rating"); // $head[$h][1] = $langs->trans("Rating");
$head[$h][2] = 'rating'; // $head[$h][2] = 'rating';
$h++; // $h++;
} // }
if (isset($object->fields['note_public']) || isset($object->fields['note_private'])) { if (isset($object->fields['note_public']) || isset($object->fields['note_private'])) {
$nbNote = 0; $nbNote = 0;