Skip to content

Commit

Permalink
Fix #541 - Headers not being skipped if checked
Browse files Browse the repository at this point in the history
  • Loading branch information
madd15 committed Feb 19, 2015
1 parent f8e12ca commit f85061f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ public function postImport()
$csv = Reader::createFromPath(Input::file('user_import_csv'));
$csv->setNewline("\r\n");

if (Input::get('has_header')==1) {
if (Input::get('has_headers')==1) {
$csv->setOffset(1);
}

Expand Down

0 comments on commit f85061f

Please sign in to comment.