diff --git a/cron.php b/cron.php index 662aec14..1dc46bc1 100644 --- a/cron.php +++ b/cron.php @@ -720,7 +720,7 @@ while ($row = mysqli_fetch_array($sql_recurring_expenses)) { // TELEMETRY -if ($config_telemetry > 0) { +if ($config_telemetry > 0 OR $config_telemetry = 2) { $current_version = exec("git rev-parse HEAD"); diff --git a/post/setting.php b/post/setting.php index d1296cef..835f5fbb 100644 --- a/post/setting.php +++ b/post/setting.php @@ -589,7 +589,7 @@ if (isset($_GET['update'])) { // Send Telemetry if enabled during update - if ($config_telemetry > 0) { + if ($config_telemetry > 0 OR $config_telemetry = 2) { $sql = mysqli_query($mysqli,"SELECT * FROM companies WHERE company_id = 1"); $row = mysqli_fetch_array($sql); diff --git a/settings_account_types.php b/settings_account_types.php index 42b93667..0b43b0df 100644 --- a/settings_account_types.php +++ b/settings_account_types.php @@ -39,8 +39,8 @@ $num_rows = mysqli_num_rows($sql); ?>