Update commande.class.php

This commit is contained in:
Laurent Destailleur 2022-03-07 17:10:28 +01:00 committed by GitHub
parent 660aa7b282
commit d0ca8af6ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3734,7 +3734,7 @@ class Commande extends CommonOrder
$target_value=array('_self', '_blank', '_parent', '_top');
if (in_array($target, $target_value)) {
$linkclose .= ' target="'.$target.'"';
$linkclose .= ' target="'.dol_escape_htmltag($target).'"';
}
}