Skip to content

Commit

Permalink
Fixes #822
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Jun 9, 2015
1 parent af2dece commit 2540ac0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions app/controllers/admin/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -633,14 +633,15 @@ public function postImport()
$duplicates .= $row[2].', ';
} else {

$newuser = array(
'first_name' => $row[0],
'last_name' => $row[1],
'email' => $row[2],
'password' => $pass,
'activated' => $activated,
'permissions' => '{"user":1}'
);
$newuser = array(
'first_name' => $row[0],
'last_name' => $row[1],
'email' => $row[2],
'password' => $pass,
'activated' => $activated,
'permissions' => '{"user":1}',
'notes' => 'Imported user'
);

DB::table('users')->insert($newuser);

Expand Down

0 comments on commit 2540ac0

Please sign in to comment.