diff --git a/scripts/pi-hole/php/savesettings.php b/scripts/pi-hole/php/savesettings.php index b558bba7..6d8a77b8 100644 --- a/scripts/pi-hole/php/savesettings.php +++ b/scripts/pi-hole/php/savesettings.php @@ -675,7 +675,7 @@ function readAdlists() case "privacyLevel": $level = intval($_POST["privacylevel"]); - if($level >= 0 && $level <= 3) + if($level >= 0 && $level <= 4) { exec("sudo pihole -a privacylevel ".$level); $success .= "The privacy level has been updated"; diff --git a/settings.php b/settings.php index 8ff665f1..1c09788f 100644 --- a/settings.php +++ b/settings.php @@ -1031,7 +1031,12 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists"
The privacy level may be changed at any time without having to restart the DNS resolver. However, note that queries with (partially) hidden details cannot be disclosed with a subsequent reduction of the privacy level.