tgz 2 vuotta sitten
vanhempi
commit
ee3ee3f45e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/services/TrackService.php

+ 1 - 1
app/services/TrackService.php

@@ -156,7 +156,7 @@ class TrackService
            $ua =mb_substr( getProp($params,'ua',''),0,250);
            $link = getProp($params,'link','');
            $other = explode('?', $link);
-           if (is_array($other)) {
+           if (is_array($other) && strpos($link, 'callback=')) {
                $otherarr = explode('&', $link);
                $callback = explode('=',$otherarr[0]);
                $callback = $callback[1];