Skip to content

Commit 9d48032

Browse files
committed
Fix for concat expression seperator, it always returned a space and not the given argument seperator. Defaults back to a space if none are given in the arguments.
1 parent 7acc042 commit 9d48032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/DB/Sql/ConcatExpression.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function __toString()
6565
}
6666
return sprintf(
6767
'TRIM(%s)',
68-
$this->adapter->getConcatSql($columns, ' ')
68+
$this->adapter->getConcatSql($columns, $this->seperator)
6969
);
7070
}
7171
}

0 commit comments

Comments
 (0)