From: hickert Date: Wed, 22 Aug 2007 09:16:56 +0000 (+0000) Subject: Ensure that no linebreaks will be saved within gotomasses tasks X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=56f4282aa9d59b57a0647ebe591ae331a63a94d0;p=gosa.git Ensure that no linebreaks will be saved within gotomasses tasks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7104 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/addons/gotomasses/class_gotomasses.inc b/plugins/addons/gotomasses/class_gotomasses.inc index 677b92cf5..51822cf17 100644 --- a/plugins/addons/gotomasses/class_gotomasses.inc +++ b/plugins/addons/gotomasses/class_gotomasses.inc @@ -369,7 +369,7 @@ class gotomasses extends plugin $str .= str_pad($task['OGroup'] ,5," ")." "; if($task['Action'] == "initial_install"){ foreach($task['Initial_Target'] as $target){ - $str .= $target['MAC'].",".$target['IP'].",".$target['NAME'].";"; + $str .= trim($target['MAC']).",".trim($target['IP']).",".trim($target['NAME']).";"; } }else{ foreach($task['Target'] as $target){