Skip to content

Commit

Permalink
Merge branch '17.0' of [email protected]:Dolibarr/dolibarr.git into 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 31, 2023
2 parents 5581dee + d2a9fe7 commit 0be3145
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion htdocs/compta/paiement/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,13 @@
}
}

$params = array();
if (! empty($title_button)) {
$params['attr'] = array('title' => $title_button);
}

if ($user->socid == 0 && $action == '') {
print dolGetButtonAction($langs->trans("Delete"), '', 'delete', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=delete&token='.newToken(), 'delete', $user->hasRight('facture', 'paiement') && !$disable_delete);
print dolGetButtonAction($langs->trans("Delete"), '', 'delete', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=delete&token='.newToken(), 'delete', $user->hasRight('facture', 'paiement') && !$disable_delete, $params);
}

print '</div>';
Expand Down

0 comments on commit 0be3145

Please sign in to comment.