Skip to content

Commit

Permalink
Merge pull request #451 from kprajapatii/master
Browse files Browse the repository at this point in the history
minor fix
  • Loading branch information
Stiofan authored Sep 6, 2018
2 parents 34d5113 + d85f4f6 commit 0530526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/widgets/class-geodir-widget-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function output($args = array(), $widget_args = array(),$content = ''){
extract($args, EXTR_SKIP);

// set the CPT to be used.
if(isset($post_type) && $post_type){
if(isset($post_type) && $post_type && geodir_is_gd_post_type($post_type)){
geodir_get_search_post_type($post_type);// set the post type
}else{
geodir_get_search_post_type();// set the post type
Expand Down

0 comments on commit 0530526

Please sign in to comment.