Merge pull request #629 from code-chicken/patch-1

Fix for getting url for keysystems
This commit is contained in:
Lenard Hess 2024-02-25 16:07:58 +01:00 committed by GitHub
commit eb7e9c5e2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7609,7 +7609,7 @@ sub nic_keysystems_update {
my $url = "http://$config{$h}{'server'}/update.php?hostname=$h&password=$config{$h}{'password'}&ip=$ip";
# Try to get URL
my $reply = geturl(opt('proxy'), $url);
my $reply = geturl(proxy => opt('proxy'), url => $url) // '';
# No response, declare as failed
if (!defined($reply) || !$reply) {