Commit 1ef988c0 authored by Johan Vervloet's avatar Johan Vervloet
Browse files

I broke it for 'dumb group'.

Here is a fix.
parent cd097006
......@@ -58,7 +58,8 @@ class CRM_Civiconfig_Entity_Group extends CRM_Civiconfig_Entity {
$this->handleSavedSearch($formValues);
}
$this->sanitizeParams();
if (!array_diff($this->_apiParams, $existing) && $formValues == $existingSearch['form_values']) {
if (is_array($existing) && !array_diff($this->_apiParams, $existing)
&& $formValues == $existingSearch['form_values']) {
// No new things. We can return to save time.
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment