Browse Source

Wrong variable used

$proxy was used for $port
Grégoire Compagnon 7 years ago
parent
commit
6ca397fbf3
1 changed files with 1 additions and 1 deletions
  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) ) {