diff --git a/system/churchcal/churchcal_db.php b/system/churchcal/churchcal_db.php index 443f4ad9..571fe4b0 100644 --- a/system/churchcal/churchcal_db.php +++ b/system/churchcal/churchcal_db.php @@ -120,7 +120,7 @@ function churchcal_getMyMeetingRequest() { CONCAT(p.vorname,' ',p.name) AS modified_name, p.id modified_pid FROM {cc_meetingrequest} mr, {cc_cal} c, {cdb_person} p WHERE mr.person_id=:person_id AND c.modified_pid=p.id - AND DATEDIFF(mr.event_date, NOW())>0 AND mr.cal_id=c.id", + AND DATEDIFF(mr.event_date, NOW())>=0 AND mr.cal_id=c.id", array(":person_id" => $user->id)); $res = array(); foreach ($db as $d) {