mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Trim trailing slash from APP_URL
This commit is contained in:
parent
e07301291b
commit
1fe671bffb
@ -56,11 +56,11 @@ class Invitation extends EntityModel
|
||||
*/
|
||||
public function getLink($type = 'view', $forceOnsite = false)
|
||||
{
|
||||
if (!$this->account) {
|
||||
if ( ! $this->account) {
|
||||
$this->load('account');
|
||||
}
|
||||
|
||||
$url = SITE_URL;
|
||||
$url = trim(SITE_URL, '/');
|
||||
$iframe_url = $this->account->iframe_url;
|
||||
|
||||
if ($this->account->hasFeature(FEATURE_CUSTOM_URL)) {
|
||||
|
Loading…
Reference in New Issue
Block a user