Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(form): fix host categories creation and update (#6901)
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret authored Oct 24, 2018
1 parent af80fde commit f5aaa97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ function updateHostCategoriesHosts($hc_id, $ret = array())
// get host template relations
$linkedHostTemplates = isset($ret["hc_hostsTemplate"]) ?
$ret["hc_hostsTemplate"] :
$form->getSubmitValue("hc_hostsTemplate");
CentreonUtils::mergeWithInitialValues($form, 'hc_hostsTemplate');

// merge host and host template relations
$linkedObjects = array_merge($linkedHosts, $linkedHostTemplates);
Expand Down

0 comments on commit f5aaa97

Please sign in to comment.