[turba] API Search Patch

mbydalek at mobilemini.com mbydalek at mobilemini.com
Wed Oct 27 08:04:45 PDT 2004


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: api.php.patch
Type: application/octet-stream
Size: 649 bytes
Desc: not available
Url : http://lists.horde.org/archives/turba/attachments/20041027/11f38fcb/api.php.obj


More information about the turba mailing list