diff --git a/lib/ApiFetcher.lib.php b/lib/ApiFetcher.lib.php index 0c1a7b9..3d35a9d 100644 --- a/lib/ApiFetcher.lib.php +++ b/lib/ApiFetcher.lib.php @@ -51,7 +51,7 @@ class ApiFetcher { $content = file_get_contents($requesturl, false, stream_context_create([ "http" => [ - "header" => "User-Agent: Mozilla/5.0 (PHP) See source.netsyms.com" + "user_agent" => "Mozilla/5.0 (PHP) See source.netsyms.com" ] ]));