fixed variable name
authorMichael Dale <dale@users.mediawiki.org>
Fri, 14 Aug 2009 18:56:45 +0000 (18:56 +0000)
committerMichael Dale <dale@users.mediawiki.org>
Fri, 14 Aug 2009 18:56:45 +0000 (18:56 +0000)
includes/HttpFunctions.php

index cf29d67..465aa91 100644 (file)
@@ -292,7 +292,7 @@ class HttpRequest {
                // set the timeout to default sync timeout (unless the timeout option is provided)
                $this->timeout = ( isset( $opt['timeout'] ) ) ? $opt['timeout'] : $wgSyncHTTPTimeout;
                //check special key default
-               if($timeout == 'default'){
+               if($this->timeout == 'default'){
                        $opts['timeout'] = $wgSyncHTTPTimeout;
                }