Title: a bug in the code
Last modified: October 25, 2017

---

# a bug in the code

 *  [ssaron](https://wordpress.org/support/users/ssaron/)
 * (@ssaron)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/a-bug-in-the-code/)
 * Hi. in the file realty-portal-advanced-search-functions.php at line 35:
    `$listing_offers
   = rp_get_list_tax( 'listing_type' );` must be replaced by `$listing_offers = 
   rp_get_list_tax( 'listing_offers' );` otherwise, search options 2 and 3 are duplicated.
   Thank’s for plugin =)

The topic ‘a bug in the code’ is closed to new replies.

 * ![](https://ps.w.org/realty-portal-advanced-search/assets/icon-256x256.jpg?rev
   =1660550)
 * [Realty Portal - Advanced Search](https://wordpress.org/plugins/realty-portal-advanced-search/)
 * [Support Threads](https://wordpress.org/support/plugin/realty-portal-advanced-search/)
 * [Active Topics](https://wordpress.org/support/plugin/realty-portal-advanced-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/realty-portal-advanced-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/realty-portal-advanced-search/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ssaron](https://wordpress.org/support/users/ssaron/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/a-bug-in-the-code/)
 * Status: not resolved