Skip to content
Snippets Groups Projects
Commit 32da778b authored by jaapjansma's avatar jaapjansma
Browse files

fixed issue with updating data procesor output

parent 5e01ee0a
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,9 @@ class UIOutputHelper {
}
else {
// Merge the current output from the database with the updated values
$configuration = array_merge($output['configuration'], $params['configuration']);
$output = array_merge($output, $params);
$output['configuration'] = $configuration;
$dataProcessor = civicrm_api3('DataProcessor', 'getsingle', ['id' => $output['data_processor_id']]);
$configuration = self::createOrUpdateNavigationItem($output, $dataProcessor);
if ($configuration) {
......@@ -186,7 +188,6 @@ class UIOutputHelper {
$navigation = \CRM_Dataprocessor_Utils_Navigation::singleton();
$navigationParams = array();
// Retrieve the current navigation ID.
if (isset($configuration['navigation_id'])) {
// Get the default navigation parent id.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment