diff --git a/htdocs/product/reassort.php b/htdocs/product/reassort.php index bcc3cd063c9..d4fcd04805a 100644 --- a/htdocs/product/reassort.php +++ b/htdocs/product/reassort.php @@ -558,6 +558,7 @@ if ($resql) { if (isModEnabled("service") && $type == 1) { print ''; + $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)) { @@ -638,6 +639,9 @@ if ($resql) { print "\n"; $i++; } + if ($num == 0) { + print ''.$langs->trans("None").''; + } print ""; print ''; diff --git a/htdocs/user/group/list.php b/htdocs/user/group/list.php index cf5f246d0a0..587d1c960f7 100644 --- a/htdocs/user/group/list.php +++ b/htdocs/user/group/list.php @@ -466,7 +466,7 @@ while ($i < $imaxinloop) { } } - print ''; + print ''; print $object->getNomUrl(1); if (isModEnabled('multicompany') && !$obj->entity) { print img_picto($langs->trans("GlobalGroup"), 'redstar'); @@ -493,11 +493,11 @@ while ($i < $imaxinloop) { if (!$i) { $totalarray['nbfield']++; } - print ''.dol_print_date($db->jdate($obj->datec), "dayhour").''; + print ''.dol_print_date($db->jdate($obj->datec), "dayhour").''; if (!$i) { $totalarray['nbfield']++; } - print ''.dol_print_date($db->jdate($obj->tms), "dayhour").''; + print ''.dol_print_date($db->jdate($obj->tms), "dayhour").''; if (!$i) { $totalarray['nbfield']++; }