mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Added config_telemetry variable to send telemetry to verify if telemetry is on or off when sent. Fixed sending telemetry on update when off these were due to an = sign when it should have been a double == Checked setup since this is the last place where it sends telemetry and it is correct.
This commit is contained in:
3
post.php
3
post.php
@@ -1556,7 +1556,7 @@ if(isset($_GET['update'])){
|
||||
|
||||
|
||||
// Send Telemetry if enabled during update
|
||||
if($config_telemetry = 1){
|
||||
if($config_telemetry == 1){
|
||||
|
||||
$sql = mysqli_query($mysqli,"SELECT * FROM companies LIMIT 1");
|
||||
$row = mysqli_fetch_array($sql);
|
||||
@@ -1784,6 +1784,7 @@ if(isset($_GET['update'])){
|
||||
'config_module_enable_itdoc' => $config_module_enable_itdoc,
|
||||
'config_module_enable_ticketing' => $config_module_enable_ticketing,
|
||||
'config_module_enable_accounting' => $config_module_enable_accounting,
|
||||
'config_telemetry' => $config_telemetry,
|
||||
'collection_method' => 4
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user