From c639b5135f669e9e26b9f0982cacda44e788bd1c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 16 Aug 2008 07:31:01 +0000 Subject: - 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 ... ;-) --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') 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'; -- cgit v1.2.3