summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f4dd18b)
raw | patch | inline | side by side (parent: f4dd18b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Feb 2008 10:29:54 +0000 (10:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Feb 2008 10:29:54 +0000 (10:29 +0000) |
-Fixed undefined index
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@9010 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@9010 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiPackage.inc | patch | blob | history | |
plugins/personal/generic/class_user.inc | patch | blob | history |
index 18a7aeae70c5a2a9b719dc7fa4dd1ef7fe46f9f0..866b61a3105d9b44e1ec7460dfeb4f7d95307471 100644 (file)
/* cehck if object already exists */
$ldap->cat($pkgdn,array("objectClass"));
- /* Tag object */
- $this->tag_attrs(&$pkgattrs, $sub_dn, $this->gosaUnitTag);
-
+ /* Tag object */
+ $this->tag_attrs(&$pkgattrs, $pkgdn, $this->gosaUnitTag);
+
if(in_array($pkgattrs['FAIvariableType'],array("boolean","multiselect","password","select","string","text"))){
if($ldap->count()!=0){
$ldap->cd($pkgdn);
}
show_ldap_error($ldap->get_error(), _("Saving FAI package entry failed"));
}
-
}
}
}
index 79cda297bab86e1adf83cd5811d8e529da3435e7..8993f4e40dcf4dc2cb416a42dd02878492be7859 100644 (file)
/* Delete references to object groups */
$ldap->cd ($this->config->current['BASE']);
- $ldap->search ("(&(objectClass=gosaGroupOfNames)(member=".LDAP::prepare4filter($this->dn)."))", array("cn"));
+ $ldap->search ("(&(objectClass=gosaGroupOfNames)(member=".@LDAP::prepare4filter($this->dn)."))", array("cn"));
while ($ldap->fetch()){
$og= new ogroup($this->config, $ldap->getDN());
unset($og->member[$this->dn]);