Skip to content

Commit

Permalink
Fix duplicate tooltip on ref
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Mar 12, 2024
1 parent 1139615 commit 29175c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploymentserver_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@
}

if (!empty($arrayfields['t.'.$key]['checked'])) {
print '<td'.($cssforfield ? ' class="'.$cssforfield.(preg_match('/tdoverflow/', $cssforfield) ? ' classfortooltip' : '').'"' : '');
print '<td'.($cssforfield ? ' class="'.$cssforfield.((preg_match('/tdoverflow/', $cssforfield) && !in_array($val['type'], array('ref', 'ip', 'url')) && !is_numeric($object->$key)) ? ' classfortooltip' : '').'"' : '');
if (preg_match('/tdoverflow/', $cssforfield) && !in_array($val['type'], array('ref', 'ip', 'url')) && !is_numeric($object->$key)) {
print ' title="'.dol_escape_htmltag($object->$key).'"';
}
Expand Down

0 comments on commit 29175c4

Please sign in to comment.