Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
civicrm_contact_search() is intended to handle the following values in its $params array:
$otherVars = array( 'sort', 'offset', 'rowCount' );
however, because of a syntax error it ignores them.
simple fix is to replace array_key_exists() with in_array() about 13 lines into the function