Code

Followup Commit for r14465:
authorpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Oct 2009 09:23:07 +0000 (09:23 +0000)
committerpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Oct 2009 09:23:07 +0000 (09:23 +0000)
Change regular expression in error message, too.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14467 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc

index a57a47ac68ad12f6fec16f4a8317fa5582267fa5..ebe89524de64e879ce722e77f8189aa962393e3d 100644 (file)
@@ -203,7 +203,7 @@ class servnfs extends plugin
         $message[]= msgPool::required(_("Name"));
       }
       if(!preg_match("/^[a-z0-9\._äüö]*$/ui",$this->name)){
-        $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]\$/ui");
+        $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]/ui");
       }
     }