diff --git a/htdocs/public/eventorganization/attendee_new.php b/htdocs/public/eventorganization/attendee_new.php index 043e52f5808..d0a3bb81d74 100644 --- a/htdocs/public/eventorganization/attendee_new.php +++ b/htdocs/public/eventorganization/attendee_new.php @@ -106,6 +106,7 @@ if ($type == 'global') { } else { $sql = "SELECT COUNT(*) as nb FROM ".MAIN_DB_PREFIX."eventorganization_conferenceorboothattendee"; $sql .= " WHERE fk_project = ".((int) $project->id); + $sql .= " AND status IN (0, 1)"; $resql = $db->query($sql); if ($resql) {