Update listevents.php

This commit is contained in:
Laurent Destailleur 2021-05-17 16:28:19 +02:00 committed by GitHub
parent c8758c53d2
commit caf1c625a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -286,7 +286,7 @@ if (!empty($result)) {
}
$center = '';
if (!empty($num)) {
if ($num) {
$center = '<a class="butActionDelete" href="'.$_SERVER["PHP_SELF"].'?action=purge">'.$langs->trans("Purge").'</a>';
}