From: Roan Kattouw Date: Wed, 15 Jul 2009 21:10:53 +0000 (+0000) Subject: Fix fatal in r53282 X-Git-Tag: 1.31.0-rc.0~40911 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=b92cbc2c4d1fbc37088ab687229ce9d3700150d0;p=lhc%2Fweb%2Fwiklou.git Fix fatal in r53282 --- 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";