mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-10-18 16:59:51 +00:00
avoid warning if request params do not exists
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6277311e71
commit
d9b3838f27
@ -880,7 +880,7 @@ sub handle_api2_request {
|
||||
$params = extract_params($r, $method);
|
||||
}
|
||||
|
||||
delete $params->{_dc}; # remove disable cache parameter
|
||||
delete $params->{_dc} if $params; # remove disable cache parameter
|
||||
|
||||
my $clientip = $reqstate->{peer_host};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user