summaryrefslogtreecommitdiff
path: root/http/api-inc.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-05-14 18:47:27 +0200
committeremkael <emkael@tlen.pl>2020-05-14 18:47:27 +0200
commit00d867eb3e83a23157f593593063c6dfffb49aa6 (patch)
tree6f3418eaac05ca451eb2c522fb2b4ac21729571d /http/api-inc.php
parent6497d19dca5d132f140e7197d34c963e58d147ab (diff)
Ignore manual parameters when calculating BridgeNET poitnslocal-b-net
Diffstat (limited to 'http/api-inc.php')
-rw-r--r--http/api-inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/http/api-inc.php b/http/api-inc.php
index 7780e64..2606df7 100644
--- a/http/api-inc.php
+++ b/http/api-inc.php
@@ -255,6 +255,9 @@ class ApiPklV3 extends ApiPklV2 {
if ($this->parameters['type'] == 4) {
throw new ParametersException('Parameter: type has incorrect value (' . $this->parameters['type'] . ') for BridgeNET tournament');
}
+ if (isset($this->parameters['manual'])) {
+ unset($this->parameters['manual']);
+ }
}
if (isset($this->parameters['boards'])) {
$this->check_values($this->parameters, array(