mirror of https://github.com/MISP/MISP
the last useless coma
parent
5ac042da67
commit
96635dca78
|
@ -2277,6 +2277,7 @@ class EventsController extends AppController {
|
||||||
}
|
}
|
||||||
$line2 = rtrim($line2, ",");
|
$line2 = rtrim($line2, ",");
|
||||||
$line = $line1 . ',' . $line2;
|
$line = $line1 . ',' . $line2;
|
||||||
|
$line = rtrim($line, ",");
|
||||||
if ($includeContext) {
|
if ($includeContext) {
|
||||||
foreach ($this->Event->csv_event_context_fields_to_fetch as $header => $field) {
|
foreach ($this->Event->csv_event_context_fields_to_fetch as $header => $field) {
|
||||||
if ($field['object']) $line .= ',' . $attribute['Event'][$field['object']][$field['var']];
|
if ($field['object']) $line .= ',' . $attribute['Event'][$field['object']][$field['var']];
|
||||||
|
|
Loading…
Reference in New Issue