From e3add90fd91de48f4c8392bef40d90653f4cb2ab Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 16 Apr 2008 13:43:28 +0000 Subject: [PATCH] Fixed copying of ogroups closes #420 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10510 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/goto/class_workstationService.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc index 56c7eeeb6..dcd5704e1 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc @@ -506,6 +506,17 @@ class workservice extends plugin "goFonHardware" => _("Telephone hardware")) )); } + + function PrepareForCopyPaste($source) + { + plugin::PrepareForCopyPaste($source); + + if(preg_match("/\+/",$this->gotoXHsync)){ + $this->AutoSync = true; + $this->gotoXHsync = preg_replace("/\+/","-",$this->gotoXHsync); + $this->gotoXVsync = preg_replace("/\+/","-",$this->gotoXVsync); + } + } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -- 2.30.2