mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-03 18:07:41 -08:00
missing closing )
This commit is contained in:
parent
f45b836010
commit
6fef127cd1
|
@ -103,7 +103,7 @@ class AssetCheckoutController extends Controller
|
|||
$settings = \App\Models\Setting::getSettings();
|
||||
|
||||
if($settings->require_checkinout_notes=="1" && (is_null($request->note))) {
|
||||
return redirect()->to("hardware/$assetId/checkout")->with('error', trans('admin/hardware/message.update.no_note'); //needs translation
|
||||
return redirect()->to("hardware/$assetId/checkout")->with('error', trans('admin/hardware/message.update.no_note'));
|
||||
}
|
||||
|
||||
// We have to check whether $target->company_id is null here since locations don't have a company yet
|
||||
|
|
Loading…
Reference in a new issue