Skip to content

Commit

Permalink
fix missing id parameter after security question when deleting a ssl-…
Browse files Browse the repository at this point in the history
…certificate

Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Dec 2, 2022
1 parent 83ff0f5 commit e10f77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssl_certificates.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

// do the delete and then just show a success-message and the certificates list again
if ($action == 'delete') {
$id = isset($_GET['id']) ? (int) $_GET['id'] : 0;
$id = isset($_POST['id']) ? (int) $_POST['id'] : (isset($_GET['id']) ? (int) $_GET['id'] : 0);
if ($id > 0) {
if (isset($_POST['send']) && $_POST['send'] == 'send') {
try {
Expand Down

0 comments on commit e10f77e

Please sign in to comment.