Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 4.6.5
-
Fix Version/s: 4.6.6
-
Component/s: Core CiviCRM
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Core Team Funds
Description
An Advanced Search for a custom field value crashes with a database error. It appears to be caused by the WHERE clause in the query missing an equals sign. The offending file appears to be \administrator\components\com_civicrm\civicrm\CRM\Core\BAO\CustomQuery.php. The problem did not exist in 4.6.4. A file generated by define( 'CIVICRM_DEBUG_LOG_QUERY', 'backtrace' ); is attached.