Fix for getting url for keysystems
This commit is contained in:
parent
a57cb3b9ff
commit
8246c65ba8
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue