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'])) {
-