From: hickert Date: Thu, 1 Oct 2009 14:29:36 +0000 (+0000) Subject: Updated copy & paste X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c72fdb308c13b8398a11f21d442d5d2c97a9af8d;p=gosa.git Updated copy & paste - Copy terminal path and swap server settings too git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14448 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc b/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc index a2bcc4648..2d6396060 100644 --- a/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc +++ b/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc @@ -412,6 +412,11 @@ class termgroup extends plugin /* Create used ntp server array */ $this->gotoNtpServer= array(); + $source_o = new termgroup ($this->config, $source['dn']); + foreach(array("gotoTerminalPath","gotoSwapServer") as $attr){ + $this->$attr = $source_o->$attr; + } + if(isset($source['gotoNtpServer'])){ $this->inheritTimeServer = false; unset($source['gotoNtpServer']['count']);