Merge remote-tracking branch 'refs/remotes/origin/arindam-bugg'
# Conflicts: # resources/lang/en/lang.php
This commit is contained in:
@@ -747,7 +747,8 @@ class UserController extends Controller
|
||||
*/
|
||||
public function UserAssignOrg($id)
|
||||
{
|
||||
$org = Input::get('org');
|
||||
$org_name = Input::get('org');
|
||||
$org = Organization::where('name', '=', $org_name)->lists('id')->first();
|
||||
$user_org = new User_org();
|
||||
$user_org->org_id = $org;
|
||||
$user_org->user_id = $id;
|
||||
|
Reference in New Issue
Block a user