is_ajax === false ) { if ( !empty( $_GET['id'] ) && !empty( $table_data ) ) { $postid = (int)$_GET['id']; } } else { if ( !empty( $_POST['postid'] ) ) $postid = (int)$_POST['postid']; } if ( !empty( $postid ) && empty( $table_data ) ) $table_data = GW_GoPricing_Data::get_table( $postid ); $data = $this->get_temp_postdata(); if ( !empty( $data ) ) $table_data = $data; $this->delete_temp_postdata(); ?>