diff --git a/scripts/pi-hole/php/savesettings.php b/scripts/pi-hole/php/savesettings.php index 0f0ff1e8..08ff4c67 100644 --- a/scripts/pi-hole/php/savesettings.php +++ b/scripts/pi-hole/php/savesettings.php @@ -702,10 +702,14 @@ function readAdlists() exec("sudo pihole -a restartdns"); $success .= "The privacy level has been decreased and the DNS resolver has been restarted"; } - else + elseif($privacylevel < $level) { $success .= "The privacy level has been increased"; } + else + { + $success .= "The privacy level has been not been changed"; + } } else {