瀏覽代碼

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) ) {