Skip to content
Snippets Groups Projects
Commit 12202388 authored by Jared Hancock's avatar Jared Hancock
Browse files

org: Set organization on user import

parent 6bb78438
No related branches found
No related tags found
No related merge requests found
...@@ -184,7 +184,8 @@ class OrgsAjaxAPI extends AjaxController { ...@@ -184,7 +184,8 @@ class OrgsAjaxAPI extends AjaxController {
); );
if ($_POST) { if ($_POST) {
$status = User::importFromPost($_POST['pasted']); $status = User::importFromPost($_POST['pasted'],
array('org_id'=>$org_id));
if (is_string($status)) if (is_string($status))
$info['error'] = $status; $info['error'] = $status;
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment