From 93a503c04c0f829107245e03373296737aab4851 Mon Sep 17 00:00:00 2001 From: Mark Unwin Date: Tue, 5 Mar 2024 17:58:04 +1000 Subject: [PATCH] Fix spelling mistake. --- app/Helpers/discoveries_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Helpers/discoveries_helper.php b/app/Helpers/discoveries_helper.php index 9e8c680b9..1680874bc 100644 --- a/app/Helpers/discoveries_helper.php +++ b/app/Helpers/discoveries_helper.php @@ -2165,7 +2165,7 @@ function discovery_check_finished(int $id) $discoveryLogModel->create($log); // If we are a collector and the discovery is an instant - delete it locally $instance = & get_instance(); - if (!empty($instance->config->cervers) and $instance->config->servers->type === 'collector' and strpos($result[0]->name, 'Instant Discovery') !== false) { + if (!empty($instance->config->servers) and $instance->config->servers->type === 'collector' and strpos($result[0]->name, 'Instant Discovery') !== false) { $sql = "DELETE FROM `discoveries` WHERE `id` = ?"; $db->query($sql, [$id]); log_message('info', 'Deleting discovery named: ' . $result[0]->name);