| @@ -11,9 +11,9 @@ | ||
| 11 | 11 | * |
| 12 | 12 | * @modified 2014.04.23 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
| 15 | +if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly. | |
| 16 | 16 | |
| 17 | 17 | |
| 18 | 18 | // TODO: re-update this function: wpbc_check_dates_intersections. we need to call the where_to_save function |
| 19 | 19 | |
| @@ -97,9 +97,9 @@ | ||
| 97 | 97 | if ( isset( $what_dates_to_check[ substr($booking_date, 0, 10) ] ) ) |
| 98 | 98 | $check_dates[] = $value; |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | - if ( count( $check_dates ) == 0 ) return $is_intersected; // No intersected dates at all in exist bookings. Return. //FixIn: 6.0.1.13 | |
| 101 | + if ( count( $check_dates ) == 0 ) return $is_intersected; // No intersected dates at all in exist bookings. Return. // FixIn: 6.0.1.13. | |
| 102 | 102 | |
| 103 | 103 | foreach ( $check_dates as $value ) { |
| 104 | 104 | |
| 105 | 105 | if ( ( is_object( $value ) ) && ( isset( $value->booking_date ) ) ) |