mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 13:45:51 +00:00
Use table name to avoid ambiguous query
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@ -560,7 +560,7 @@ class AssetsController extends Controller
|
||||
->NotArchived();
|
||||
|
||||
if ((Setting::getSettings()->full_multiple_companies_support=='1') && ($request->filled('companyId'))) {
|
||||
$assets->where('company_id', $request->input('companyId'));
|
||||
$assets->where('assets.company_id', $request->input('companyId'));
|
||||
}
|
||||
|
||||
if ($request->filled('assetStatusType') && $request->input('assetStatusType') === 'RTD') {
|
||||
|
||||
Reference in New Issue
Block a user