diff --git a/include/ajax.orgs.php b/include/ajax.orgs.php index 393c6dde48ba1d0a797bf34447d12ce28c526962..54ea1dc7fcb6ff8f83379da816c455297a731d2a 100644 --- a/include/ajax.orgs.php +++ b/include/ajax.orgs.php @@ -184,7 +184,8 @@ class OrgsAjaxAPI extends AjaxController { ); if ($_POST) { - $status = User::importFromPost($_POST['pasted']); + $status = User::importFromPost($_POST['pasted'], + array('org_id'=>$org_id)); if (is_string($status)) $info['error'] = $status; else