From b69e774bf375655dad17a4f9a44947d98ba8a05a Mon Sep 17 00:00:00 2001 From: Will Cooke Date: Sat, 27 Feb 2021 15:02:52 +0000 Subject: [PATCH] Simple typo fix: static release -> static lease. Signed-off-by: Will Cooke --- scripts/pi-hole/php/savesettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/php/savesettings.php b/scripts/pi-hole/php/savesettings.php index d37be27c..f85d5a4e 100644 --- a/scripts/pi-hole/php/savesettings.php +++ b/scripts/pi-hole/php/savesettings.php @@ -230,7 +230,7 @@ function addStaticDHCPLease($mac, $ip, $hostname) { foreach($dhcp_static_leases as $lease) { if($lease["hwaddr"] === $mac) { - throw new Exception("Static release for MAC address (".htmlspecialchars($mac).") already defined!
", 4); + throw new Exception("Static lease for MAC address (".htmlspecialchars($mac).") already defined!
", 4); } if($ip !== "noip" && $lease["IP"] === $ip) {