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:
parent
549216f30a
commit
184eaf855c
@ -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'))) {
|
||||
|
Loading…
Reference in New Issue
Block a user