FIX Count only attendee draft of validated.
This commit is contained in:
parent
a1d6e55189
commit
74ef3b076d
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user