Fix for telemetry not being able to be enabled.

This commit is contained in:
purple 2023-05-09 21:35:06 +02:00
parent 8c938482a5
commit 3e8a596591

View file

@ -12,6 +12,7 @@ class BlueprintTelemetryService
}
public function send($event) {
if ($this->settings->get('blueprint::telemetry') == "") { $this->settings->set('blueprint::telemetry', "true"); };
if ($this->settings->get('blueprint::telemetry') == "false") { return; };
if ($this->settings->get('blueprint::telemetry:id') == "") { $this->settings->set('blueprint::telemetry:id', uniqid(rand())); };