summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ee4a3a)
raw | patch | inline | side by side (parent: 6ee4a3a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Oct 2008 07:03:52 +0000 (07:03 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Oct 2008 07:03:52 +0000 (07:03 +0000) |
-Ldap error messages were always displayed as type "remove"
-Couldn't copy or edit tagged Apps.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12667 594d385d-05f5-0310-b6e9-bd551577e9d8
-Couldn't copy or edit tagged Apps.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12667 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc
index 23754acb81e37ef57ff8bd00970b26bf9ed089b8..668683edc9fdf84cbf2bc32df940e684ce5d7fa7 100644 (file)
/* Add new entries
*/
foreach($Actions['Add'] as $dn => $data){
+ $this->tag_attrs($data,$dn,$this->gosaUnitTag);
$ldap->cd($dn);
$ldap->cat($dn);
if(!$ldap->count()){
$ldap->add($data);
if (!$ldap->success()){
- msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $dn, LDAP_DEL, get_class()));
+ msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $dn, LDAP_ADD, get_class()));
}
}
}
/* Modify entries
*/
foreach($Actions['Edit'] as $dn => $data){
+ $this->tag_attrs($data,$dn,$this->gosaUnitTag);
$ldap->cd($dn);
$ldap->cat($dn);
if($ldap->count()){
$ldap->modify($data);
if (!$ldap->success()){
- msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $dn, LDAP_DEL, get_class()));
+ msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $dn, LDAP_MOD, get_class()));
}
}
}