Commit f8011c0a authored by Jamie McClelland's avatar Jamie McClelland

flush cache after creating custom field so it's available in profile.

parent d19cab40
......@@ -1487,6 +1487,7 @@ function petitionemail_create_custom_fields() {
$values = array_pop($results['values']);
$id = $values['id'];
CRM_Core_BAO_Setting::setItem($id, $group, $key);
CRM_Utils_System::flushCache();
}
}
......
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