summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e38e2b6)
raw | patch | inline | side by side (parent: e38e2b6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 11 Jun 2008 12:24:35 +0000 (12:24 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 11 Jun 2008 12:24:35 +0000 (12:24 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11286 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/generic/class_user.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index a37cdb4c8607e1da87a8e286631f04d2e8934b33..7c34bc6b989e43c71cbdeceb5cb1ba74cdb6aca2 100644 (file)
}
/* In template mode, the uid and givenName are autogenerated... */
+ if ($this->sn == ""){
+ $message[]= msgPool::required(_("Name"));
+ }
+
if (!$this->is_template){
- if ($this->sn == ""){
- $message[]= msgPool::required(_("Name"));
- }
if ($this->givenName == ""){
$message[]= msgPool::required(_("Given name"));
}