From 52164a2af029a8e7dfa75fa426a83203bf8e62a7 Mon Sep 17 00:00:00 2001 From: Mark Unwin Date: Wed, 5 Sep 2018 16:14:18 +1000 Subject: [PATCH] Add a fix for no credentials, setting type to router. This was patched into the 2.2.7 release. --- .../application/controllers/include_input_discoveries.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_igniter/application/controllers/include_input_discoveries.php b/code_igniter/application/controllers/include_input_discoveries.php index 4930657f8..fec9e5eab 100644 --- a/code_igniter/application/controllers/include_input_discoveries.php +++ b/code_igniter/application/controllers/include_input_discoveries.php @@ -437,7 +437,7 @@ } } } - if ($ssh_details->manufacturer = 'Ubiquiti Networks Inc.' and empty($device->type)) { + if ($ssh_details->manufacturer == 'Ubiquiti Networks Inc.' and empty($device->type)) { $device->type = 'router'; }