Merge pull request #21177 from frederic34/patch-4
avoid extra space after idprof
This commit is contained in:
commit
a0ad3552c1
@ -2672,7 +2672,9 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
|
|||||||
print dol_print_profids($object->$key, 'ProfId'.$i, $object->country_code, 1);
|
print dol_print_profids($object->$key, 'ProfId'.$i, $object->country_code, 1);
|
||||||
if ($object->$key) {
|
if ($object->$key) {
|
||||||
if ($object->id_prof_check($i, $object) > 0) {
|
if ($object->id_prof_check($i, $object) > 0) {
|
||||||
print ' '.$object->id_prof_url($i, $object);
|
if (!empty($object->id_prof_url($i, $object))) {
|
||||||
|
print ' '.$object->id_prof_url($i, $object);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
print ' <span class="error">('.$langs->trans("ErrorWrongValue").')</span>';
|
print ' <span class="error">('.$langs->trans("ErrorWrongValue").')</span>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user