Code

Fixed ogroup saving
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 6 Oct 2006 07:04:10 +0000 (07:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 6 Oct 2006 07:04:10 +0000 (07:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4863 594d385d-05f5-0310-b6e9-bd551577e9d8

Changelog
plugins/admin/ogroups/class_ogroup.inc

index 12a95089bd9e3617672e70d0be9ec8d799cd0b83..39e51989b85df5caa7eb54ff779f4bb25aab076a 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -2,6 +2,7 @@ GOsa2 changelog
 ===============
 * gosa 2.5.5
   - Fixed missing ppd configuration error, for newly created printer.
+  - Fixed object group saving, the base was sometimes broken.
 
 * gosa 2.5.4
   - Included patch to choose the addressbook base
index 2df483ab58b606018064b85cbf79958f88663431..b500e73f64bd08cb74cd2973b20ea4550239d511 100644 (file)
@@ -85,7 +85,7 @@ class ogroup extends plugin
     if ($this->dn == "new"){
       $this->base= $_SESSION['CurrentMainBase'];
     } else {
-      $this->base= preg_replace("/^[^,]+,".get_groups_ou()."/","",$str);
+      $this->base= preg_replace("/^[^,]+,".get_groups_ou()."/","",$this->dn);
     }
 
     /* set permissions */