* Plugin Name: GLM Associate - Travel Leads
* Plugin URI: http://www.gaslightmedia.com/
* Description: Trevel Leads
- * Version: 1.0.1
+ * Version: 1.0.2
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersTravelAddOn
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.0.1
+ * @version 1.0.2
*/
// Check that we're being called by WordPress.
* so that we're sure the other add-ons see an up to date
* version from this plugin.
*/
-define('GLM_MEMBERS_TRAVEL_PLUGIN_VERSION', '1.0.1');
+define('GLM_MEMBERS_TRAVEL_PLUGIN_VERSION', '1.0.2');
define('GLM_MEMBERS_TRAVEL_PLUGIN_DB_VERSION', '0.0.5');
// This is the minimum version of the GLM Members DB plugin require for this plugin.
$hasSearch = false;
$tab = 0;
$params = false;
- $search_params = false;
// Get any provided option
if ( isset( $_REQUEST['option'] ) ) {
);
}
+ // echo '<pre>$search_params: ' . print_r( $search_params, true ) . '</pre>';
+
// If we have wpUser then save searches for them.
if ( $wpUser['ID'] ) {
$search_data = array(
}
+ // echo '<pre>$where_parts: ' . print_r( $where_parts, true ) . '</pre>';
+
// Initialize the interests array
$interests = array();
'inserting_error' => $inserting_error,
'assetsUrl' => GLM_MEMBERS_TRAVEL_PLUGIN_URL . 'assets',
'states' => $this->config['states'],
- 'search_params' => $search_params,
+ 'search_params' => ( isset( $search_params ) ) ? $search_params : false,
);