diff --git a/config/services.yaml b/config/services.yaml index a9ab742..bd4d227 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -8,7 +8,7 @@ parameters: application_env: '%env(resolve:APP_ENV)%' application_api_key: '%env(resolve:APP_API_KEY)%' application_vendors: '%kernel.project_dir%/vendor/composer/installed.php' - application_version: '2.5.1' + application_version: '2.5.2' container.dumper.inline_factories: true cache.redis.namespace: '%env(default:cache.redis.namespace.default:REDIS_CACHE_NAMESPACE)%' cache.redis.namespace.default: 'devkit' diff --git a/src/Action/Tool/Ajax/AcsServiceClientAction.php b/src/Action/Tool/Ajax/AcsServiceClientAction.php index 13f8efc..bf59311 100644 --- a/src/Action/Tool/Ajax/AcsServiceClientAction.php +++ b/src/Action/Tool/Ajax/AcsServiceClientAction.php @@ -63,10 +63,10 @@ public function __invoke(Request $request): Response $request->get('acsSub'), $request->get('acsAction'), $date, - (int)$request->get('acsAttemptNumber'), + (int)$request->get('acsAttemptNumber') ?: 1, $request->get('acsIss'), - (int)$request->get('acsExtraTime'), - (float)$request->get('acsSeverity'), + $request->get('acsExtraTime') === '' ? null : (int)$request->get('acsExtraTime'), + $request->get('acsSeverity') === '' ? null : (float)$request->get('acsSeverity'), $request->get('acsReasonCode'), $request->get('acsReasonMessage') );