logo       

API Search Patch: msg#00036

horde.turba

Subject: API Search Patch

When trying to do an API search, I was running into some problems so I fixed
them. :)

Just to make sure I'm not a moron or anything, this was my code for the
registry call:
$args = array('names' => array($vars->get('user_email')),
'fields' => array('email'));
$details = $registry->call('clients/searchClients', $args);

What was happening though was that the 'fields' was being completely
ignored. Take a look at the patch and see if what I've done makes sense as
there can never be any $fields[$source] (as far as I can tell) unless I am
just doing this whole thing wrong.

Thanks,
Mike

Attachment: api.php.patch
Description: Binary data

--
Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: turba-unsubscribe@xxxxxxxxxxxxxxx
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise