Skip to content

Commit

Permalink
Update IcingaCloneObjectForm.php
Browse files Browse the repository at this point in the history
  • Loading branch information
moreamazingnick authored May 22, 2023
1 parent 6ae6a3d commit c02a322
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/forms/IcingaCloneObjectForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ public function onSuccess()
$new->set('host', null);
$new->set('object_type', 'object');
} elseif ($host = $this->getValue('target_host')) {
$new->set('service_set_id', null);
$new->set('host', $host);
$new->set('object_type', 'object');
}
Expand Down

0 comments on commit c02a322

Please sign in to comment.