From c3eba70cc306e5f7ba3ae6e8b770e7196cd1e079 Mon Sep 17 00:00:00 2001 From: tehron Date: Sun, 20 Oct 2019 20:26:26 +0200 Subject: [PATCH] return in send() if utmac is null --- files/vendor/class.ss-ga.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/vendor/class.ss-ga.php b/files/vendor/class.ss-ga.php index f10917d..8a12753 100644 --- a/files/vendor/class.ss-ga.php +++ b/files/vendor/class.ss-ga.php @@ -74,6 +74,7 @@ public function create_gif() { * @return */ public function send() { + if ($this->data['utmac'] == null) return; if ( !isset( $this->tracking ) ) $this->create_gif(); @@ -405,4 +406,4 @@ function ssga_track( $UA = null, $domain = null, $page = null ) { $ssga->reset(); return $ssga; } -?> \ No newline at end of file +?>