Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Cannot Reproduce
-
Affects Version/s: 4.6.7
-
Fix Version/s: None
-
Component/s: Core CiviCRM
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Core Team Funds
Description
I haven't yet been able to re-create this on demo. However i have a user on my system who does not have view all contacts or edit all contacts permission. We have custom hooks which determine the contacts they can see it.
There is an issue in that when they try to use the basic search (contacts find contacts)
That the list of tags that is included in the DAO for search is just a simple array (tag_id:tag_name,.....)
Without anything at the end specifying the type of data e.g. string. This then causes issue in line 1260 of CRM/Core/DAO.php
A simple fix i have found that appears to work is
inserting in line 1260
if (!is_array($item))
{ continue; }I would appreciate it if others in the Core team had any other thoughts on this