Fix to get safely using wrapper sub 2/2

This commit is contained in:
Ilia Rostovtsev
2021-09-28 16:30:05 +03:00
parent 6566bd9c48
commit f69fa81e59
118 changed files with 313 additions and 312 deletions

View File

@ -27,7 +27,7 @@ foreach $h (@hosts) {
push(@titles, &server_name($s)."<br>".
&text('index_version', $h->{'version'}));
push(@links, "edit_host.cgi?id=$h->{'id'}");
push(@icons, "$gconfig{'webprefix'}/servers/images/$s->{'type'}.gif");
push(@icons, "@{[&get_webprefix()]}/servers/images/$s->{'type'}.gif");
$gothost{$h->{'id'}}++;
}
if (@links) {