Skip to content

Commit

Permalink
(Cal) Fix meeting request display on startpage when meeting is same day
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrauen committed Jun 29, 2015
1 parent 909249c commit 688640a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/churchcal/churchcal_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 688640a

Please sign in to comment.