diff --git a/html/pages/device/edit/device.inc.php b/html/pages/device/edit/device.inc.php
index 328dc997fb..fb99b876a7 100644
--- a/html/pages/device/edit/device.inc.php
+++ b/html/pages/device/edit/device.inc.php
@@ -66,7 +66,7 @@ if ($updated && $update_message)
diff --git a/includes/defaults.inc.php b/includes/defaults.inc.php
index 69e477f246..2c16652f58 100644
--- a/includes/defaults.inc.php
+++ b/includes/defaults.inc.php
@@ -578,6 +578,6 @@ $config['dateformat']['long'] = "r"; # RFC2822 style
$config['dateformat']['compact'] = "Y-m-d H:i:s";
$config['dateformat']['time'] = "H:i:s";
-$config['disable_clear_discovery'] = 0;// Set this to 1 if you want to disable the web option to rediscover devices
+$config['enable_clear_discovery'] = 1;// Set this to 0 if you want to disable the web option to rediscover devices
?>