com web/php: there is no reason to silence the error, we don't show it anyways: include/posttohost.inc
| From: | Ferenc Kovacs | Date: | Fri, 25 Jul 2014 10:07:13 +0000 |
| Subject: | com web/php: there is no reason to silence the error, we don't show it anyways: include/posttohost.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-19536@lists.php.net to get a copy of this message | ||
Commit: 6aae300d191706d34dd88c935862a4b3f15aa2dc
Author: kovacs.ferenc <kovacs.ferenc@ustream.tv> Fri, 25 Jul 2014 12:07:13 +0200
Parents: 0823079ff9d66ef0dfe8d4d033867e900903a7cc
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=6aae300d191706d34dd88c935862a4b3f15aa2dc
Log:
there is no reason to silence the error, we don't show it anyways
Changed paths:
M include/posttohost.inc
Diff:
diff --git a/include/posttohost.inc b/include/posttohost.inc
index 1e37d5b..56cd323 100644
--- a/include/posttohost.inc
+++ b/include/posttohost.inc
@@ -20,7 +20,7 @@ function posttohost($url, $data)
$ctx = stream_context_create(array('http' => $opts));
- $response_body = @file_get_contents($url, false, $ctx);
+ $response_body = file_get_contents($url, false, $ctx);
return $response_body;
}