From 834f29a0ae68ac5fd02ebd2b48487568b595c493 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 2 Oct 2009 06:32:08 +0000 Subject: [PATCH] Yes. You're right. Forgot the complete path in my version. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc b/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc index 07ca37b97..79f3c101a 100644 --- a/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc +++ b/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc @@ -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!"); } } -- 2.30.2