addressbook members search

Post modules, themes or any other code you want to share with the community.

Moderator: Developers

brian s

addressbook members search

Postby brian s » Wed Mar 09, 2005 8:24 pm

In the addressbook module search - when someone searches for members - there is an extra pulldown to select which addressbook to search from that should not be there.

Line 58 from the current CVS search.inc reads:

Code: Select all

if ($ab_settings['search_type'] != 'users' && $ab->get_subscribed_addressbooks($GO_SECURITY->user_id) > 1)
Changing the 'users' to 'user' fixes this problem:

Code: Select all

if ($ab_settings['search_type'] != 'user' && $ab->get_subscribed_addressbooks($GO_SECURITY->user_id) > 1)

Who is online

Users browsing this forum: No registered users and 1 guest

cron