From: Roan Kattouw Date: Wed, 15 Jul 2009 21:14:56 +0000 (+0000) Subject: Fix another fatal in r53282 X-Git-Tag: 1.31.0-rc.0~40909 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=5733faae101a6365c25bb6948823659e01805337;p=lhc%2Fweb%2Fwiklou.git Fix another fatal in r53282 --- diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 1fd61c859d..1f812d85e1 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -383,6 +383,7 @@ class HttpRequest{ 'timeout' => $timeout ) ); $ctx = stream_context_create( $opts ); + $status = new Status; $status->value = file_get_contents( $url, false, $ctx ); if( !$status->value ){ $status->error( 'file_get_contents-failed' );