From 7db9a7de731436719f79f644f771aa37fb5b8f2a Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 30 May 2024 18:57:33 -0400 Subject: [PATCH] Fix Telemetry check --- cron.php | 2 +- ticket.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cron.php b/cron.php index c7532c26..de0f44db 100644 --- a/cron.php +++ b/cron.php @@ -734,7 +734,7 @@ while ($row = mysqli_fetch_array($sql_recurring_expenses)) { // TELEMETRY -if ($config_telemetry > 0 OR $config_telemetry = 2) { +if ($config_telemetry > 0 OR $config_telemetry == 2) { $current_version = exec("git rev-parse HEAD"); diff --git a/ticket.php b/ticket.php index 9727a6a4..266f44a1 100644 --- a/ticket.php +++ b/ticket.php @@ -541,7 +541,6 @@ if (isset($_GET['ticket_id'])) { -