From: hickert Date: Wed, 16 Apr 2008 13:43:28 +0000 (+0000) Subject: Fixed copying of ogroups closes #420 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e3add90fd91de48f4c8392bef40d90653f4cb2ab;p=gosa.git Fixed copying of ogroups closes #420 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10510 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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: