From b92cbc2c4d1fbc37088ab687229ce9d3700150d0 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Wed, 15 Jul 2009 21:10:53 +0000 Subject: [PATCH] Fix fatal in r53282 --- includes/HttpFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index dd78674ff2..1fd61c859d 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -371,7 +371,7 @@ class HttpRequest{ #$use file_get_contents... # This doesn't have local fetch capabilities... - $headers = array( "User-Agent: " . self :: userAgent() ); + $headers = array( "User-Agent: " . Http :: userAgent() ); if( strcasecmp( $method, 'post' ) == 0 ) { // Required for HTTP 1.0 POSTs $headers[] = "Content-Length: 0"; -- 2.20.1