mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Fixed missing trans()
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
46d055cf74
commit
656efc5f92
|
@ -632,7 +632,7 @@ class UsersController extends Controller
|
|||
{
|
||||
$user= User::where('id', $id)->first();
|
||||
$user->notify((new CurrentInventory($user)));
|
||||
return redirect()->back()->with('success', 'admin/users/general.user_notified');
|
||||
return redirect()->back()->with('success', trans('admin/users/general.user_notified'));
|
||||
}
|
||||
|
||||
return redirect()->back()->with('error', 'admin/accessories/message.user_does_not_exist');
|
||||
|
|
Loading…
Reference in a new issue