2
0
forked from Wavyzz/dolibarr
This commit is contained in:
BB2A Anthony Berton
2022-03-08 18:34:56 +01:00
parent eae3fe78f1
commit cef9cf8670

View File

@@ -8778,7 +8778,8 @@ function complete_head_from_modules($conf, $langs, $object, &$head, &$h, $type,
dol_include_once($labeltemp[2]);
$obj = new $labeltemp[1]($db);
$function = $labeltemp[3];
$label .= $obj->$function($object->id, $obj);
$nbrec = $obj->$function($object->id, $obj);
$label .= '<span class="badge marginleftonlyshort">'.$nbrec.'</span>';
}
} else {
$label = $langs->trans($values[2]);