From: janw Date: Tue, 12 Jul 2005 11:09:39 +0000 (+0000) Subject: Only check uid if it was modified. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f033e551e3c78da125384d03f186aa3f17a736ea;p=gosa.git Only check uid if it was modified. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@946 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index d1594a8a1..d09c80e0a 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -915,7 +915,7 @@ class user extends plugin } /* Check for valid input */ - if (!is_uid($this->uid)){ + if ($this->is_modified && !is_uid($this->uid)){ $message[]= _("The field 'Login' contains invalid characters. Lowercase, numbers and dashes are allowed."); } if (!is_url($this->labeledURI)){