Update societe.class.php

This commit is contained in:
Laurent Destailleur 2022-03-07 17:11:32 +01:00 committed by GitHub
parent 1bc80df643
commit d38df4b8a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2704,9 +2704,9 @@ class Societe extends CommonObject
}
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
$linkclose .= ' class="classfortooltip refurl"';
$target_value=array('_self','_blank','_parent','_top',);
$target_value = array('_self', '_blank', '_parent', '_top');
if (in_array($target, $target_value)) {
$linkclose .= ' target="'.$target.'"';
$linkclose .= ' target="'.dol_escape_htmltag($target).'"';
}
/*