summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d47f297)
raw | patch | inline | side by side (parent: d47f297)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 31 Mar 2008 13:12:58 +0000 (13:12 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 31 Mar 2008 13:12:58 +0000 (13:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10091 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 aa37dc920e95ef776b3c1a389f749cca1227abd4..6a477b9da32c9c40cca99f638f871f843c33a98a 100644 (file)
/* Walk through govattrs */
foreach ($this->govattrs as $val){
+ if (in_array($val, $skip)){
+ continue;
+ }
+
if (isset($this->attrs["$val"][0])){
/* If attribute is set, replace dynamic parts:
}
/* Get back uid/sn/givenName - only write if nothing's skipped */
- if ($this->parent !== NULL && count($skip) != 0){
+ if ($this->parent !== NULL && count($skip) == 0){
$this->uid= $this->parent->uid;
$this->sn= $this->parent->sn;
$this->givenName= $this->parent->givenName;