ソースを参照

Wrong variable used

$proxy was used for $port
Grégoire Compagnon 7 年 前
コミット
6ca397fbf3
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/Builder.php

+ 1 - 1
src/Builder.php

@@ -299,7 +299,7 @@ class Builder {
         $this->withOption( 'PROXY', $proxy );
 
         if( !empty($port) ) {
-            $this->withOption( 'PROXYPORT', $proxy );
+            $this->withOption( 'PROXYPORT', $port );
         }
 
         if( !empty($type) ) {