]> git.tokkee.org Git - gosa.git/commitdiff

Code

Added " to the list of not allowed characters for departments
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 12 Jul 2007 07:52:29 +0000 (07:52 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 12 Jul 2007 07:52:29 +0000 (07:52 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6842 594d385d-05f5-0310-b6e9-bd551577e9d8

Changelog
plugins/admin/departments/class_departmentGeneric.inc

index 819c36fd8035d207521a1f3690bfceb2feceb5ce..8ad28b04c696503eae124eaca9d0982f6c20ba8b 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -19,9 +19,9 @@ GOsa2 changelog
   - Made gidNumber be the current in posix check hook
   - Removed inconsistency in gosa/gosa+samba3 schema
   - Fixed multiple saving of "My account" data
-  - Forbid moving of objects from administrative units to other
-    administrative units where ACL's permit it. Objects "seemed"
-    to disapear because the tagging changes.
+  - Don't allow moving of objects from administrative units to other
+    administrative units where ACL's permit it. Objects "seemed" to
+    disapear because the tagging changes.
 
 * gosa 2.5.11a
   - Added chinese translation
index 54133fdfc3ff2d215ceefe03c204ee311cd418b6..fff1409070996671730f6765808274084c9c693b 100644 (file)
@@ -239,7 +239,7 @@ class department extends plugin
       $message[]= sprintf(_("The field 'Name' contains the reserved word '%s'. Please choose another name."),$this->ou);
     }
 
-               if (preg_match ('/[#+:=>\\\\\/]/', $this->ou)){
+               if (preg_match ('/["#+:=>\\\\\/]/', $this->ou)){
                        $message[]= _("The field 'Name' contains invalid characters.");
                }
                if (!is_phone_nr($this->telephoneNumber)){