From c6cfd272ef6c5a84abc9f2b3ff12dc2331fd9857 Mon Sep 17 00:00:00 2001 From: nook24 Date: Fri, 29 Jul 2022 10:16:04 +0000 Subject: [PATCH] ITC-2814 Undefined array key "freshness_checks_enabled" on host copy --- src/Controller/HostsController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Controller/HostsController.php b/src/Controller/HostsController.php index f7a6da6588..d25cb49aab 100644 --- a/src/Controller/HostsController.php +++ b/src/Controller/HostsController.php @@ -1670,7 +1670,9 @@ public function copy($id = null) { 'tags', 'active_checks_enabled', 'satellite_id', - 'notifications_enabled' + 'notifications_enabled', + 'freshness_threshold', + 'freshness_checks_enabled' ] ); /** @var \App\Model\Entity\Hosttemplate $hosttemplate */