Skip to content

Commit

Permalink
Merge pull request phpmyadmin#19423 from kamil-tekiela/ReplicationCon…
Browse files Browse the repository at this point in the history
…troller-crash

Fix crash in ReplicationController
  • Loading branch information
MauricioFauth authored Dec 5, 2024
2 parents 924da92 + 6d0d2c0 commit b7ad717
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 b7ad717

Please sign in to comment.