From a6d85a8e359f6b20f3a3b350a9d99a557691406c Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 6 Oct 2006 07:04:10 +0000 Subject: [PATCH] Fixed ogroup saving git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4863 594d385d-05f5-0310-b6e9-bd551577e9d8 --- Changelog | 1 + plugins/admin/ogroups/class_ogroup.inc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 12a95089b..39e51989b 100644 --- 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 diff --git a/plugins/admin/ogroups/class_ogroup.inc b/plugins/admin/ogroups/class_ogroup.inc index 2df483ab5..b500e73f6 100644 --- a/plugins/admin/ogroups/class_ogroup.inc +++ b/plugins/admin/ogroups/class_ogroup.inc @@ -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 */ -- 2.30.2