From 8f499de9ae42ee3fe80bb0d4f4d575d1e6807294 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 2 Aug 2006 06:34:09 +0000 Subject: [PATCH] Fixed checks git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4364 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.inc b/include/functions.inc index 143013a9f..3abd10ff0 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -1029,7 +1029,7 @@ function is_ip_with_subnetmask($ip) /* Simple is domain check, it checks if the given string looks like "string(...).string" */ function is_domain($str) { - return(preg_match("/^([a-z0-9i\-]*)\.[a-z0-9]$/i",$str)); + return(preg_match("/^([a-z0-9i\-]*)\.[a-z0-9]*$/i",$str)); } -- 2.30.2