diff --git a/programs-remote-listings/rs-connect-api.php b/programs-remote-listings/rs-connect-api.php index d1f80dd..4585f69 100644 --- a/programs-remote-listings/rs-connect-api.php +++ b/programs-remote-listings/rs-connect-api.php @@ -36,7 +36,7 @@ public static function get_base_url() $base_domain = 'secure.retreat.guru'; $http = 'https://'; - if (isset($_SERVER['SERVER_NAME']) && ('rgconnect.test' == $_SERVER['SERVER_NAME'] || 'qa-testing.booking-demo.com' == $_SERVER['SERVER_NAME'])) { + if (isset($_SERVER['SERVER_NAME']) && ('rgconnect.test' == $_SERVER['SERVER_NAME'] || 'qa-testing.booking-demo.com' == $_SERVER['SERVER_NAME'])) { $base_domain = 'rbgapp.com'; $http = 'http://'; } diff --git a/programs-remote-listings/views/admin-settings.php b/programs-remote-listings/views/admin-settings.php index 2513588..616f1db 100644 --- a/programs-remote-listings/views/admin-settings.php +++ b/programs-remote-listings/views/admin-settings.php @@ -60,7 +60,7 @@ 'sort_order' => 'asc', 'sort_column' => 'post_title', 'post_type' => 'page', - 'post_status' => 'publish,private', + 'post_status' => 'publish,private,draft', ); $pages = get_pages($args);