|
@@ -68,7 +68,7 @@ |
|
|
block discarded – undo |
|
68
|
68
|
$enclosure = $observer->getSubject()->getConfiguration()->getEnclosure(); |
|
69
|
69
|
|
|
70
|
70
|
// filter the category elements and upgrade them for expoort purposes |
|
71
|
|
- array_walk($elements, function (&$element) use ($enclosure, $delimiter) { |
|
|
71
|
+ array_walk($elements, function(&$element) use ($enclosure, $delimiter) { |
|
72
|
72
|
// add one quote to each quote |
|
73
|
73
|
$element = str_replace($enclosure, str_pad($enclosure, 2, $enclosure), $element); |
|
74
|
74
|
// if the element contains the delimiter char OR the enclosur char, surround it with additional quotes |
Please login to merge, or discard this patch.