Fix empty test

This commit is contained in:
ATM john 2019-06-13 21:57:30 +02:00
parent 53be6492b8
commit 0ef9a8843a

View File

@ -8123,7 +8123,7 @@ function dolGetButtonAction($label, $html = '', $actionType = 'default', $url =
$attr['href'] = '';
}
if(empty($id)){
if(!empty($id)){
$attr['id'] = $id;
}