Merge pull request #14476 from OPEN-DSI/v10-fix-button-title-attr-id

FIX title button attribute id empty
This commit is contained in:
Laurent Destailleur 2020-08-14 02:24:26 +02:00 committed by GitHub
commit 04be66eab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8258,7 +8258,7 @@ function dolGetButtonTitle($label, $helpText = '', $iconClass = 'fa fa-file', $u
$attr['class'] .= ' classfortooltip';
}
if(empty($id)){
if(!empty($id)){
$attr['id'] = $id;
}