[Tickets #13161] Re: turba/lib/Driver/Kolab.php not handling search field arrays

noreply at bugs.horde.org noreply at bugs.horde.org
Tue May 6 10:37:05 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/13161
------------------------------------------------------------------------------
  Ticket             | 13161
  Updated By         | jmozdzen at nde.ag
  Summary            | turba/lib/Driver/Kolab.php not handling search field
                     | arrays
  Queue              | Kolab
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


jmozdzen at nde.ag (2014-05-06 10:37) wrote:

> What *is* the first parameter to stripos() there? I assume you  
> already logged, because you used Horde::debug(), but you left out  
> the value.

Sorry, this appeared in the context of another bug, I had focussed there ;)

The problem happened in our case when the code accessed the  
"categories" field - that's an array (as the name already implies).

As an interim (to get rid of the messages, so that I could continue  
debugging the other case) I encapsulated thae code in " if  
(is_array(...))", which of course is no solution as then no  
multi-valued field is searched.

I'm off-site without back-end access - if the above is insufficient  
information (it's all from memory), please let me know and I'll try to  
gather the bits tonight.





More information about the bugs mailing list