From 557a6e52fca7b0a4080029c4c8989045ef1b6f56 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 2 Aug 2006 06:34:28 +0000 Subject: [PATCH] Fixed checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4365 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 ab9d4e8bb..4c909b7d1 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -1035,7 +1035,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