1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Remove borderless= from invoice link

This commit is contained in:
Hillel Coren 2018-07-27 11:21:55 +03:00
parent 549216f30a
commit 184eaf855c

View File

@ -69,7 +69,7 @@ class ClientPortalController extends BaseController
if (request()->silent) {
session(['silent:' . $client->id => true]);
return redirect(request()->url() . '?borderless=' . request()->borderless);
return redirect(request()->url() . (request()->borderless ? '?borderless=true' : ''));
}
if (! $account->checkSubdomain(Request::server('HTTP_HOST'))) {