Skip to content

Commit

Permalink
missed a spot
Browse files Browse the repository at this point in the history
  • Loading branch information
Godmartinz committed Dec 5, 2024
1 parent de41def commit f6b9ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/ReportsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ public function sentAssetAcceptanceReminder(Request $request) : RedirectResponse
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'));
}

Expand Down

0 comments on commit f6b9ae6

Please sign in to comment.