From 238f8ce2d92c0776b545746a847aaab486a152a8 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 30 May 2016 10:58:53 -0700 Subject: [PATCH] Use proper var for zone name https://github.com/webmin/webmin/issues/365 --- bind8/check_zone.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind8/check_zone.cgi b/bind8/check_zone.cgi index 2eba2b407..4f53e7662 100755 --- a/bind8/check_zone.cgi +++ b/bind8/check_zone.cgi @@ -11,7 +11,7 @@ our (%access, %text, %in); $access{'apply'} || &error($text{'check_ecannot'}); my $zone = &get_zone_name_or_error($in{'zone'}, $in{'view'}); &can_edit_zone($zone) || &error($text{'master_ecannot'}); -my $desc = &ip6int_to_net(&arpa_to_ip($dom)); +my $desc = &ip6int_to_net(&arpa_to_ip($zone->{'name'})); &ui_print_header($desc, $text{'check_title'}, "", undef, undef, undef, undef, &restart_links($zone));