mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 19:04:41 -04:00
Fixed invitation iframe URL
This commit is contained in:
parent
39f426e352
commit
90baeb5018
@ -40,7 +40,7 @@ class Invitation extends EntityModel
|
|||||||
|
|
||||||
if ($this->account->isPro()) {
|
if ($this->account->isPro()) {
|
||||||
if ($iframe_url) {
|
if ($iframe_url) {
|
||||||
return "{$iframe_url}/?{$this->invitation_key}";
|
return "{$iframe_url}?{$this->invitation_key}";
|
||||||
} elseif ($this->account->subdomain) {
|
} elseif ($this->account->subdomain) {
|
||||||
$url = Utils::replaceSubdomain($url, $this->account->subdomain);
|
$url = Utils::replaceSubdomain($url, $this->account->subdomain);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user