From 1c18b4d5a0d68e4600c3c43ef8d49c9f77f1556e Mon Sep 17 00:00:00 2001 From: Johan Vervloet Date: Tue, 23 Jun 2015 20:25:46 +0200 Subject: [PATCH] CRM-16736 - changed 'null' into NULL. I think this might fix the issues I have with this PR: https://github.com/civicrm/civicrm-core/pull/6059 ---------------------------------------- * CRM-16736: Possible NULL/'null' error in SavedSearch BAO https://issues.civicrm.org/jira/browse/CRM-16736 --- CRM/Contact/BAO/SavedSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/SavedSearch.php b/CRM/Contact/BAO/SavedSearch.php index dc50ae0d59..04ca400fd8 100644 --- a/CRM/Contact/BAO/SavedSearch.php +++ b/CRM/Contact/BAO/SavedSearch.php @@ -296,7 +296,7 @@ LEFT JOIN civicrm_email ON (contact_a.id = civicrm_email.contact_id AND civicrm_ $savedSearch->form_values = serialize($params['formValues']); } else { - $savedSearch->form_values = 'null'; + $savedSearch->form_values = NULL; } $savedSearch->is_active = CRM_Utils_Array::value('is_active', $params, 1); -- 2.25.1