This commit is contained in:
Laurent Destailleur 2022-11-29 23:52:16 +01:00
parent e00450ea6e
commit cccb10ace4

View File

@ -659,6 +659,7 @@ while ($i < $imaxinloop) {
if (isModEnabled("service") && $type == 1) {
print '<td class="center">';
$regs = array();
if (preg_match('/([0-9]+)y/i', $objp->duration, $regs)) {
print $regs[1].' '.$langs->trans("DurationYear");
} elseif (preg_match('/([0-9]+)m/i', $objp->duration, $regs)) {