• Hello,

    I often import csv file from xls (save as csv). When I open the csv with notepad, there are empty rows at the bottom. Then when I import the csv, I will get that empty rows also imported.

    I suggest adding this validation

    if($show['Artist'] == "" && $show['Venue'] == "")
    continue;

    after foreach($csv->data as $key => $show) { in gigpress_import() function to avoid empty rows imported.

    https://www.ads-software.com/plugins/gigpress/

  • The topic ‘Import empty rows’ is closed to new replies.