From 52a54f05936dc99baa0c65ba02bd502f920986cf Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 23 Nov 2006 06:41:39 +0000 Subject: [PATCH] Fixed typo git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5204 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_terminalGeneric.inc | 2 +- plugins/admin/systems/tabs_terminal.inc | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/plugins/admin/systems/class_terminalGeneric.inc b/plugins/admin/systems/class_terminalGeneric.inc index ba256af50..ca29ec1e2 100644 --- a/plugins/admin/systems/class_terminalGeneric.inc +++ b/plugins/admin/systems/class_terminalGeneric.inc @@ -380,7 +380,7 @@ class termgeneric extends plugin } /* Permissions for that base? */ - $this->dn= "cn=".$this->cn."ou=terminals,ou=systems,".$this->base; + $this->dn= "cn=".$this->cn.",ou=terminals,ou=systems,".$this->base; /* Set new acl base */ if($this->dn == "new") { diff --git a/plugins/admin/systems/tabs_terminal.inc b/plugins/admin/systems/tabs_terminal.inc index 78bf16d45..69540dda1 100644 --- a/plugins/admin/systems/tabs_terminal.inc +++ b/plugins/admin/systems/tabs_terminal.inc @@ -39,8 +39,14 @@ class termtabs extends tabs tabs::save_object($save_current); /* Update reference, transfer variables */ - $this->by_object['termstartup']->gotoTerminalPath= - $this->by_object['termgeneric']->gotoTerminalPath; + if(isset($this->by_object['termstartup'])){ + $this->by_object['termstartup']->gotoTerminalPath= $this->by_object['termgeneric']->gotoTerminalPath; + } + + $base_obj = $this->by_object['termgeneric']; + foreach($this->by_object as $name => $plug){ + $this->by_object[$name]->cn = $base_obj->cn; + } } -- 2.30.2