use Request-wrapper-class for every access to $_POST superglobal
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -55,7 +55,7 @@ if ($action == 'delete') {
|
||||
'section' => 'domains',
|
||||
'page' => $page
|
||||
]);
|
||||
} elseif (isset($_POST['send']) && $_POST['send'] == 'send' && $action == 'deletesure' && $id > 0) {
|
||||
} elseif (Request::post('send') == 'send' && $action == 'deletesure' && $id > 0) {
|
||||
try {
|
||||
$json_result = Certificates::getLocal($userinfo, [
|
||||
'id' => $id
|
||||
|
||||
Reference in New Issue
Block a user