Fix for getting url for keysystems

This commit is contained in:
Rüdiger Hahn 2024-02-14 22:36:48 +01:00 committed by GitHub
parent a57cb3b9ff
commit 8246c65ba8
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"; my $url = "http://$config{$h}{'server'}/update.php?hostname=$h&password=$config{$h}{'password'}&ip=$ip";
# Try to get URL # Try to get URL
my $reply = geturl(opt('proxy'), $url); my $reply = geturl(proxy => opt('proxy'), url => $url) // '';
# No response, declare as failed # No response, declare as failed
if (!defined($reply) || !$reply) { if (!defined($reply) || !$reply) {