mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
missed a spot
This commit is contained in:
parent
de41def2b3
commit
f6b9ae6aee
|
@ -1162,7 +1162,7 @@ class ReportsController extends Controller
|
|||
Mail::to($email)->send((new CheckoutAssetMail($assetItem, $assetItem->assignedTo, $logItem->user, $logItem->note, $acceptance)));
|
||||
}
|
||||
|
||||
if ($assetItem->assignedTo?->email == ''){
|
||||
if ($email == ''){
|
||||
return redirect()->route('reports/unaccepted_assets')->with('error', trans('general.no_email'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue