Support » Plugin: Flamingo » Bug: Superfluous field in CSV export

  • Hi,

    I noticed that every row in exported CSV file with inbound messages contains a superfluous, empty field just before the last field with date.

    I found that the problem is in admin\admin.php file (from line 586). First, $labels for exported messages are retrieved, then subsequently an extra label for additional “Date” column is added to the $labels array. Then in the loop this $labels array is used to fetch CSV columns, but obviously there is no column with “Date” in message fields, so an empty column is echoed.

    My fix is to replace:

    $labels[] = __( 'Date', 'flamingo' );
    echo flamingo_csv_row( $labels );


    echo flamingo_csv_row(
        array_merge( $labels, array( __( 'Date', 'flamingo' ) ) )


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bug: Superfluous field in CSV export’ is closed to new replies.