Plugin Directory

Changeset 1550793


Ignore:
Timestamp:
12/09/2016 04:57:40 PM (9 years ago)
Author:
Houghtelin
Message:

6bb7eca Merge pull request #133 from Gueststream-Inc/preventing_unix_epoch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vrpconnector/trunk/lib/VRPConnector.php

    r1549657 r1550793  
    16901690        }
    16911691
    1692         if ( isset( $_SESSION['arrival'] ) ) {
     1692        if ( isset( $_SESSION['arrival'] ) && $_SESSION['arrival'] != '01/01/1970') {
    16931693            $this->search->arrival = date( 'm/d/Y', strtotime( $_SESSION['arrival'] ) );
    16941694        } else {
     
    17011701        }
    17021702
    1703         if ( isset( $_SESSION['depart'] ) ) {
     1703        if ( isset( $_SESSION['depart'] ) && $_SESSION['depart'] != '01/01/1970') {
    17041704            $this->search->depart = date( 'm/d/Y', strtotime( $_SESSION['depart'] ) );
    17051705        } else {
Note: See TracChangeset for help on using the changeset viewer.