From 846c8c00d5b2982834e09c5908e0e99512d65c3a Mon Sep 17 00:00:00 2001 From: rojaro <> Date: Mon, 31 May 2010 16:40:24 +0000 Subject: eliminated warning --- framework/Util/TRpcClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Util') diff --git a/framework/Util/TRpcClient.php b/framework/Util/TRpcClient.php index c218c52d..cf8287d1 100644 --- a/framework/Util/TRpcClient.php +++ b/framework/Util/TRpcClient.php @@ -109,7 +109,7 @@ class TRpcClient extends TApplicationComponent */ protected function performRequest($serverUrl, $payload, $mimeType) { - if(($_response = file_get_contents($serverUrl, false, $this->createStreamContext($payload, $mimeType))) === false) + if(($_response = @file_get_contents($serverUrl, false, $this->createStreamContext($payload, $mimeType))) === false) throw new TRpcClientRequestException('RPC request failed'); if(substr($http_response_header[0], -6) != '200 OK') -- cgit v1.2.3