the last useless coma

pull/2600/head
Cédric Bonhomme 2017-10-27 11:16:42 +02:00
parent 5ac042da67
commit 96635dca78
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 1 additions and 0 deletions

View File

@ -2277,6 +2277,7 @@ class EventsController extends AppController {
}
$line2 = rtrim($line2, ",");
$line = $line1 . ',' . $line2;
$line = rtrim($line, ",");
if ($includeContext) {
foreach ($this->Event->csv_event_context_fields_to_fetch as $header => $field) {
if ($field['object']) $line .= ',' . $attribute['Event'][$field['object']][$field['var']];