Commit dba14279 authored by Dominik Hebeler's avatar Dominik Hebeler

ignoring entry when tld is empty

parent 7501f2d6
......@@ -166,6 +166,12 @@ class Adgoal
$targetUrl = $partnershop["url"];
$tld = $partnershop["tld"];
// Sometimes TLD is null
if(empty($tld)){
continue;
}
$targetHost = parse_url($targetUrl, PHP_URL_HOST);
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment