Update listevents.php

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

View File

@ -234,7 +234,7 @@ $nbtotalofrecords = '';
$sql .= $db->plimit($conf->liste_limit + 1, $offset);
//print $sql;
$result = $db->query($sql);
if (!empty($result)) {
if ($result) {
$num = $db->num_rows($result);
$i = 0;