Occupancy variable not being submitted, changing data types
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 30 Oct 2015 18:37:32 +0000 (14:37 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 30 Oct 2015 18:37:32 +0000 (14:37 -0400)
page-150.php

index 19c8659..c8b99d5 100644 (file)
@@ -25,9 +25,8 @@
                             if ($arrival == NULL || $departure == NULL){
                                 $arrival = date("m/d/Y", strtotime("+2 days"));
                                 $departure = date("m/d/Y", strtotime($arrival. ' +2 days'));
-                                $occupancy = 1;
                             }
-                             //$arrival = date("m/d/Y", strtotime("+2 days"));
+                             $occupancy = "1";
                             ?>
                         <iframe name="res_frame" src="https://weblink.instantsoftware.com/widgetsearch/1134?PropertyLocation=<?php echo urlencode($_REQUEST['PropertyLocation']); ?> &ArrivalDate=<?php echo $arrival ?> &DepartureDate= <?php echo $departure ?>&Occupancy= <?php echo $occupancy ?>" height="3300" id="res_frame" width="100%" frameborder="0"></iframe>
                 </div>