dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9351fe9
)
Fix another fatal in r53282
author
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 15 Jul 2009 21:14:56 +0000
(21:14 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 15 Jul 2009 21:14:56 +0000
(21:14 +0000)
includes/HttpFunctions.php
patch
|
blob
|
history
diff --git
a/includes/HttpFunctions.php
b/includes/HttpFunctions.php
index
1fd61c8
..
1f812d8
100644
(file)
--- 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' );