phpcs
This commit is contained in:
parent
e00450ea6e
commit
cccb10ace4
@ -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)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user