summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: af8b2ee)
raw | patch | inline | side by side (parent: af8b2ee)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Oct 2008 07:30:46 +0000 (07:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Oct 2008 07:30:46 +0000 (07:30 +0000) |
-Ldap error messages were always displayed as type "removei failed"
-Couldn't copy or edit any tagged Apps.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12669 594d385d-05f5-0310-b6e9-bd551577e9d8
-Couldn't copy or edit any tagged Apps.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12669 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 3ec0ce61e8e105ee017309f9934c4b9a1bd4916e..bb8937f09ee3df484aa7ead299342019d682d4b5 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()));
}
}
}