From bb87fdf096752b4bc8ed050297390a8116f62308 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Wed, 26 Oct 2016 14:18:59 +0100 Subject: [PATCH] fix bug out_human on array trim --- lib/php/out.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/php/out.php b/lib/php/out.php index aa8e60c4..67a1cf1e 100644 --- a/lib/php/out.php +++ b/lib/php/out.php @@ -554,10 +554,8 @@ function out_human(&$o,&$row) { $o['_human']['len'] = []; } - foreach ($row as $k=>$v) { - $row[$k] = trim(str_replace("\n",' ',$v)); - } $line = out::row_csv($o,$row); + $line = str_replace('\n',' ',$line); # Search max length string $i = 0; -- 2.47.3