← All changes
|
core/integrations/google/service/google-calendar-sync.php
+1
-1
1.0.61
→
1.0.64
View file →
| @@ -297,9 +297,9 @@ | ||
| 297 | 297 | |
| 298 | 298 | $staff_id = ! empty( $booking_data['staff_id'] ) ? intval( $booking_data['staff_id'] ) : 0; |
| 299 | 299 | $start_date = ! empty( $booking_data['start_date'] ) ? $booking_data['start_date'] : ''; |
| 300 | 300 | $start_time = ! empty( $booking_data['start_time'] ) ? $booking_data['start_time'] : ''; |
| 301 | - $timezone = ! empty( $booking_data['timezone'] ) ? $booking_data['timezone'] : wp_timezone_string(); | |
| 301 | + $timezone = ! empty( $booking_data['timezone'] ) ? $booking_data['timezone'] : timetics_wp_timezone_string(); | |
| 302 | 302 | |
| 303 | 303 | if ( ! $staff_id || ! $start_date || ! $start_time ) { |
| 304 | 304 | return $available; |
| 305 | 305 | } |