Modified: trunk/htdocs/system/classes/remoterequest.php (4629 => 4630)
--- trunk/htdocs/system/classes/remoterequest.php 2010-11-27 04:04:34 UTC (rev 4629)
+++ trunk/htdocs/system/classes/remoterequest.php 2010-11-27 07:26:36 UTC (rev 4630)
@@ -82,11 +82,9 @@
$this->set_timeout( $timeout );
// load the proxy configuration, if it exists
- $proxy = Config::get( 'proxy', null ); // return null if it's not set
- if ( $proxy != null ) {
-
+ $proxy = Config::get( 'proxy' );
+ if ( isset( $proxy->server ) ) {
$this->set_config( array( 'proxy' => (array)$proxy ) );
-
}
// populate the default proxy exceptions list, since we can't up there