classes/class-destination.php 1 location
|
@@ 442-448 (lines=7) @@
|
| 439 |
|
|
| 440 |
|
$safari_brands = false; |
| 441 |
|
|
| 442 |
|
if(isset($_POST['content']) && is_array($_POST['content']) && !empty($_POST['content'])){ |
| 443 |
|
$content = $_POST['content']; |
| 444 |
|
add_option('wetu_importer_destination_settings',$content); |
| 445 |
|
}else{ |
| 446 |
|
delete_option('wetu_importer_destination_settings'); |
| 447 |
|
$content = false; |
| 448 |
|
} |
| 449 |
|
|
| 450 |
|
$jdata = file_get_contents( $this->url . '/Get?' . $this->url_qs . '&ids=' . $wetu_id ); |
| 451 |
|
if($jdata) |
classes/class-tours.php 1 location
|
@@ 462-468 (lines=7) @@
|
| 459 |
|
$post_id = 0; |
| 460 |
|
} |
| 461 |
|
|
| 462 |
|
if(isset($_POST['content']) && is_array($_POST['content']) && !empty($_POST['content'])){ |
| 463 |
|
$content = $_POST['content']; |
| 464 |
|
add_option('wetu_importer_tour_settings',$content); |
| 465 |
|
}else{ |
| 466 |
|
delete_option('wetu_importer_tour_settings'); |
| 467 |
|
$content = false; |
| 468 |
|
} |
| 469 |
|
|
| 470 |
|
$jdata=file_get_contents("http://wetu.com/API/Itinerary/V7/Get?id=".$wetu_id); |
| 471 |
|
|