From: cajus Date: Fri, 2 Oct 2009 06:32:08 +0000 (+0000) Subject: Yes. You're right. Forgot the complete path in my version. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=834f29a0ae68ac5fd02ebd2b48487568b595c493;p=gosa.git 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 --- 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!"); } }