Code

Yes. You're right. Forgot the complete path in my version.
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Oct 2009 06:32:08 +0000 (06:32 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Oct 2009 06:32:08 +0000 (06:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14455 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 07ca37b97f41f6d510f7422082fc60bd20b92977..79f3c101a5b111f7fc17868ef772eb0e1b2b9d34 100644 (file)
@@ -201,7 +201,7 @@ class servnfs extends plugin
       if(!preg_match("/^[a-z0-9\._äüö\$]*$/ui",$this->name)){
         $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]\$/ui");
       } else {
-        if (!preg_match("/^[^\$]+\$$/", $this->name)) {
+        if (!preg_match("/^[^\$]+[\$]*\$$/", $this->name)) {
           $message[] = _("Hidden shares must have a '$' at the end of the name!");
         }
       }