Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.1
-
Fix Version/s: 4.1.2
-
Component/s: Core CiviCRM
-
Labels:None
Description
In CRM/Contact/BAO/SavedSearch.php, in the contactIDsSQL() function, there's the line:
$tables = $whereTables = array( $contact => 1 );
$contact is not defined, hence the error. I think the line should be:
$tables = $whereTables = array( $contact => 1 );
In which case the attached patch should fix it.