From: hickert Date: Wed, 2 Aug 2006 06:34:28 +0000 (+0000) Subject: Fixed checks X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=557a6e52fca7b0a4080029c4c8989045ef1b6f56;p=gosa.git Fixed checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4365 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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)); }