From 86494ac34eaff5da330d99a419abb35cb9081c93 Mon Sep 17 00:00:00 2001 From: MadMakz Date: Wed, 26 Sep 2012 15:31:49 +0200 Subject: [PATCH] Steam/SGS: Remove error_reporting() handling on cURL version --- PHP/Steam/SteamGroupStatus/sgs_curl.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/PHP/Steam/SteamGroupStatus/sgs_curl.php b/PHP/Steam/SteamGroupStatus/sgs_curl.php index 1796a42..b644b10 100644 --- a/PHP/Steam/SteamGroupStatus/sgs_curl.php +++ b/PHP/Steam/SteamGroupStatus/sgs_curl.php @@ -25,14 +25,10 @@ echo stgrp_status($gruppe); function stgrp_status($group = false){ if(!$group){ return "
No group set.
"; } - $error_reporting = error_reporting(); - error_reporting(0); $url = file_get_contents_curl('http://steamcommunity.com/groups/'.$group, "SteamGroupStatus Query Script"); if($url["header"]["http_code"] != "200"){ - error_reporting($error_reporting); return "
Steamcommunity appears to be down.
"; } - error_reporting($error_reporting); $return = "
\n";