This commit is contained in:
Laurent Destailleur 2023-10-17 16:12:13 +02:00
parent c0f04dc078
commit 0274dcddd6

View file

@ -889,10 +889,11 @@ if ($object->id > 0) {
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '<td class="right">';
print '<td class="center">';
print '<a href="'.$_SERVER['PHP_SELF'].'?id='.$object->id.'&action=delete&token='.newToken().'&did='.$obj->rowid.'&type='.urlencode($type).'">';
print img_delete();
print '</a></td>';
print '</a>';
print '</td>';
}
// Date
@ -950,7 +951,7 @@ if ($object->id > 0) {
// Action column
if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '<td class="right">';
print '<td class="center">';
print '<a href="'.$_SERVER['PHP_SELF'].'?id='.$object->id.'&action=delete&token='.newToken().'&did='.$obj->rowid.'&type='.urlencode($type).'">';
print img_delete();
print '</a></td>';