Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
A Bug which new users will get a port 0 not the port set in productd
  • Loading branch information
Zzm committed Jul 16, 2017
1 parent 4f1cd2e commit 5ac651a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin/UnlimitedSocks/UnlimitedSocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function UnlimitedSocks_CreateAccount(array $params){
$port = $port['port'] + 1;
}
else {
$port = (!empty($params['configoption5']) ? $params['configoption5'] : '10000');
$port = (!empty($params['configoption4']) ? $params['configoption4'] : '10000');
}
}
$create = $db->prepare($query['CREATE_ACCOUNT']);
Expand Down

0 comments on commit 5ac651a

Please sign in to comment.