From 5733faae101a6365c25bb6948823659e01805337 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Wed, 15 Jul 2009 21:14:56 +0000 Subject: [PATCH] Fix another fatal in r53282 --- includes/HttpFunctions.php | 1 + 1 file changed, 1 insertion(+) 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' ); -- 2.20.1