diff --git a/src/Controllers/Server/ReplicationController.php b/src/Controllers/Server/ReplicationController.php index ac27da84839..281c1ef6bc6 100644 --- a/src/Controllers/Server/ReplicationController.php +++ b/src/Controllers/Server/ReplicationController.php @@ -75,7 +75,7 @@ public function __invoke(ServerRequest $request): Response $request->getParsedBodyParamAsString('username', ''), $request->getParsedBodyParamAsString('pma_pw', ''), $request->getParsedBodyParamAsString('hostname', ''), - (int) $request->getParsedBodyParamAsString('text_port'), + (int) $request->getParsedBodyParamAsStringOrNull('text_port'), ); }