From 56f4282aa9d59b57a0647ebe591ae331a63a94d0 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 22 Aug 2007 09:16:56 +0000 Subject: [PATCH] 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 --- plugins/addons/gotomasses/class_gotomasses.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){ -- 2.30.2