From c4ccba058fb737bbe33c04a4df6c0b6ed6cd66f3 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 10 Aug 2006 10:31:26 +0000 Subject: [PATCH] Updated error message git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4466 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_logonManagementDialog.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/personal/environment/class_logonManagementDialog.inc b/plugins/personal/environment/class_logonManagementDialog.inc index 98ce41ff3..d222bd11f 100644 --- a/plugins/personal/environment/class_logonManagementDialog.inc +++ b/plugins/personal/environment/class_logonManagementDialog.inc @@ -93,8 +93,8 @@ class logonManagementDialog extends plugin /* Call common method to give check the hook */ $message= plugin::check(); - if(preg_match("/[^a-z]/",$this->LogonName)){ - $message[] = _("Specified name is invalid."); + if(preg_match("/[^a-zA-Z]/",$this->LogonName)){ + $message[] = _("Specified name should only consist of uper-/lowercase characters."); } if(empty($this->LogonName)){ -- 2.30.2