mergecsv: bug quand left ne contient qu'un seul champ vide
This commit is contained in:
parent
b548dec8e7
commit
a702b8953e
|
@ -1448,8 +1448,8 @@ function printmerged(lline, rline, nocopy, linecsv, tmplinecsv) {
|
|||
}
|
||||
linecsv = array_formatcsv(lfields)
|
||||
tmplinecsv = array_formatcsv(rfields)
|
||||
if (tmplinecsv != "") {
|
||||
if (linecsv != "") linecsv = linecsv ","
|
||||
if (array_len(rfields) > 0) {
|
||||
if (array_len(lfields) > 0) linecsv = linecsv ","
|
||||
linecsv = linecsv tmplinecsv
|
||||
}
|
||||
print linecsv
|
||||
|
|
Loading…
Reference in New Issue