summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3a085d0)
raw | patch | inline | side by side (parent: 3a085d0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Dec 2009 14:54:02 +0000 (14:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Dec 2009 14:54:02 +0000 (14:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14898 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc
index c07e1edd816007c92620ce5063a767ccdb308277..d71a1b6a8c4caedc007c97e298cf73f7d2f1d1ca 100644 (file)
/* Saves object modifications
*/
- function save(){
+ function save()
+ {
+
+ $this->reload();
plugin::save();
+
/* Save data. Using 'modify' implies that the entry is already present, use 'add' for
new entries. So do a check first... */
$ldap = $this->config->get_ldap_link();
// Finally write data with selected 'mode'
$this->cleanup();
$ldap->cd ($this->dn);
+
+
$ldap->$mode ($this->attrs);
if (!$ldap->success()){
msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(),