Applied fixes from StyleCI

This commit is contained in:
Manish Verma
2016-10-25 09:26:14 +00:00
committed by StyleCI Bot
parent d5d71893e9
commit a994e34385
4 changed files with 30 additions and 32 deletions

View File

@@ -61,17 +61,15 @@ class OrganizationController extends Controller
}
}
/**
* This function is used autofill organizations name .
*
* @return datatable
*/
/**
* This function is used autofill organizations name .
*
* @return datatable
*/
public function organizationAutofill()
{
return view('themes.default1.agent.helpdesk.organization.getautocomplete');
}
{
return view('themes.default1.agent.helpdesk.organization.getautocomplete');
}
/**
* This function is used to display the list of Organizations.

View File

@@ -748,7 +748,7 @@ class UserController extends Controller
public function UserAssignOrg($id)
{
$org_name = Input::get('org');
$org= Organization::where('name','=',$org_name)->lists('id')->first();
$org = Organization::where('name', '=', $org_name)->lists('id')->first();
$user_org = new User_org();
$user_org->org_id = $org;
$user_org->user_id = $id;