mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Check for FMCS
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
0e2251c810
commit
5ece721b00
|
@ -559,7 +559,7 @@ class AssetsController extends Controller
|
|||
])->with('model', 'assetstatus', 'assignedTo')
|
||||
->NotArchived();
|
||||
|
||||
if ($request->filled('companyId')) {
|
||||
if ((Setting::getSettings()->full_multiple_companies_support=='1') && ($request->filled('companyId'))) {
|
||||
$assets->where('company_id', $request->input('companyId'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue