-
Notifications
You must be signed in to change notification settings - Fork 324
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I think I've found a bug. I'd like another pair of eyes to look at it and confirm, and if someone else agrees I'll do a PR.
Describe the bug**
Our users are reporting that they are getting reminder emails for cancelled reservations.
To Reproduce**
Steps to reproduce the behavior:
- Have n instance with reminder notifications turned on
- create a booking
- cancel that booking
- Still get email
Expected behavior**
Don't get reminders for cancelled bookings.
Specifications
- LibreBooking version librebooking-2.8.6.2-GA4-Fix.zip
This looks to be a logic error in https://github.com/LibreBooking/app/blob/3571cb74dee6d640dee3bfa824b7f3bcb29ca4d3/lib/Database/Commands/Queries.php#L672C1-L672C309
It looks to need brackets around the long OR statement as the status<>2 is only filtering the first kind of reminder.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working