summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrojaro <>2010-05-31 16:40:24 +0000
committerrojaro <>2010-05-31 16:40:24 +0000
commit846c8c00d5b2982834e09c5908e0e99512d65c3a (patch)
treeb15d411b47536d01460d9964d5ab9d28662e43ef
parent25081445c72778e8906312090396657c89cd1dca (diff)
eliminated warning
-rw-r--r--framework/Util/TRpcClient.php2
1 files changed, 1 insertions, 1 deletions
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')