Reference correct dirty subsystem

This commit is contained in:
Warren Baker 2014-03-29 11:28:50 +02:00
parent 0ae676cd0c
commit 05fec96ba8

View File

@ -106,7 +106,7 @@ if ($_POST) {
$retval = services_unbound_configure();
$savemsg = get_std_save_message($retval);
if ($retval == 0)
clear_subsystem_dirty('unbound_hosts');
clear_subsystem_dirty('unbound');
}
}
@ -134,7 +134,7 @@ function show_advanced_dns() {
<form action="services_unbound.php" method="post" name="iform" id="iform">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<?php if (is_subsystem_dirty('unbound_hosts')): ?><p>
<?php if (is_subsystem_dirty('unbound')): ?><p>
<?php print_info_box_np(gettext("The configuration for the DNS Resolver, has been changed") . ".<br />" . gettext("You must apply the changes in order for them to take effect."));?><br />
<?php endif; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="services unbound">