Skip to content

Commit

Permalink
Fix crash in ReplicationController
Browse files Browse the repository at this point in the history
Signed-off-by: Kamil Tekiela <[email protected]>
  • Loading branch information
kamil-tekiela committed Dec 5, 2024
1 parent 6eb12b6 commit 6d0d2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/Server/ReplicationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
);
}

Expand Down

0 comments on commit 6d0d2c0

Please sign in to comment.