1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Fix swal JS error

This commit is contained in:
Hillel Coren 2018-03-18 12:32:39 +02:00
parent b78a2537a9
commit 0d4a94ffb6

View File

@ -69,7 +69,7 @@
swal("{!! trans('texts.please_register') !!}");
return;
@elseif ( ! Auth::check() || ! Auth::user()->confirmed)
swal("{!! trans('texts.confirmation_required', ['link' => link_to('/resend_confirmation', trans('texts.click_here'))]) !!}");
swal({!! json_encode(trans('texts.confirmation_required', ['link' => link_to('/resend_confirmation', trans('texts.click_here'))])) !!});
return;
@endif