From 42e7915b53fa6e2674f6bbb4afa70669745eabe0 Mon Sep 17 00:00:00 2001 From: yubiuser Date: Sun, 20 Dec 2020 20:35:21 +0100 Subject: [PATCH] Fix typo Signed-off-by: yubiuser --- scripts/pi-hole/php/func.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/php/func.php b/scripts/pi-hole/php/func.php index ef817b54..0db73b18 100644 --- a/scripts/pi-hole/php/func.php +++ b/scripts/pi-hole/php/func.php @@ -303,7 +303,7 @@ function addCustomCNAMEEntry($domain="", $target="", $json=true) return returnError("Target must be set", $json); if (!is_valid_domain_name($target)) - return returnError("Trget must be valid", $json); + return returnError("Target must be valid", $json); // Check if each submitted domain is valid $domains = array_map('trim', explode(",", $domain));