Skip to content

Commit

Permalink
Bug: 14508 Need to pop off the first line of the file, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Nov 9, 2016
1 parent c15352b commit c633116
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -70,6 +70,8 @@ protected function _populateTable()
* iata_code,
* local_code
*/
// Pop the first line off, which contains field names.
fgetcsv($this->_handle);
while (($data = fgetcsv($this->_handle)) !== false) {
if (sizeof($data) < 13) {
continue;
Expand Down

0 comments on commit c633116

Please sign in to comment.