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'; }