summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-08-16 07:31:01 +0000
committerDries Buytaert <dries@buytaert.net>2008-08-16 07:31:01 +0000
commitc639b5135f669e9e26b9f0982cacda44e788bd1c (patch)
tree00fae350d7cb030caa988a8f7a6241544036eb97 /includes/common.inc
parentbb153976b131a3382a1605e3a6ad9a1c0952b71e (diff)
downloadbrdo-c639b5135f669e9e26b9f0982cacda44e788bd1c.tar.gz
brdo-c639b5135f669e9e26b9f0982cacda44e788bd1c.tar.bz2
- Patch #295564 by boombatower, Damien Tournoud: fixed drupal_http_request error and cleaned up some simpletest stuff. We should have a much more funky 'all tests passed' screen. Having all tests pass shouldn't be this boring. Let's be a bit more creative and injest some fun ... ;-)
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 8d8b951c7..aebb8a199 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -434,7 +434,7 @@ function drupal_http_request($url, $headers = array(), $method = 'GET', $data =
}
// Parse the URL and make sure we can handle the schema.
- $uri = parse_url($url);
+ $uri = @parse_url($url);
if ($uri == FALSE) {
$result->error = 'unable to parse URL';