diff --git a/calendar_events.php b/calendar_events.php index e839b2f9..68841c31 100644 --- a/calendar_events.php +++ b/calendar_events.php @@ -198,7 +198,7 @@ while ($row = mysqli_fetch_array($sql)) { } if (strtotime($row['ticket_schedule']) < time()) { - if (!empty($row['ticket_schedule']) { + if (!empty($row['ticket_schedule'])) { $event_color = "red"; } else { $event_color = "green"; diff --git a/client_events.php b/client_events.php index 4744a753..590b202e 100644 --- a/client_events.php +++ b/client_events.php @@ -198,7 +198,7 @@ while ($row = mysqli_fetch_array($sql)) { } if (strtotime($row['ticket_schedule']) < time()) { - if (!empty($row['ticket_schedule']) { + if (!empty($row['ticket_schedule'])) { $event_color = "red"; } else { $event_color = "green";