From 00d867eb3e83a23157f593593063c6dfffb49aa6 Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 14 May 2020 18:47:27 +0200 Subject: Ignore manual parameters when calculating BridgeNET poitns --- http/api-inc.php | 3 +++ 1 file changed, 3 insertions(+) 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( -- cgit v1.2.3