PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | admin/helpers/src/task/driver/params/scheduling.php +4 -1 1.8.10 → 1.8.16 View file →
@@ -105,9 +105,12 @@
105 105 // do nothing when we're not dealing with a real confirmed and accepted reservation
106 106 return;
107 107 }
108 108
109 - if (!$booking->detectAlterations()) {
109 + // check if we are dealing with a RtB where previous booking was "pending"
110 + $changedToConfirmed = $booking->getPrevious() && $booking->getPreviousProperty('status') === 'standby';
111 +
112 + if (!$booking->detectAlterations() && !$changedToConfirmed) {
110 113 // do nothing when no significant changes were made to the booking
111 114 return;
112 115 }
113 116