diff --git a/app/Models/Invitation.php b/app/Models/Invitation.php index 1790ce556e..5b62b82181 100644 --- a/app/Models/Invitation.php +++ b/app/Models/Invitation.php @@ -73,7 +73,7 @@ class Invitation extends EntityModel $url = trim(SITE_URL, '/'); if ($account->hasFeature(FEATURE_CUSTOM_URL)) { - if (Utils::isNinja()) { + if (Utils::isNinjaProd()) { $url = $account->present()->clientPortalLink(); } diff --git a/app/Models/Traits/SendsEmails.php b/app/Models/Traits/SendsEmails.php index 8c80012f4c..4843afa5e3 100644 --- a/app/Models/Traits/SendsEmails.php +++ b/app/Models/Traits/SendsEmails.php @@ -15,7 +15,7 @@ trait SendsEmails public function getFromEmail() { - if ( ! $this->isPro() || ! Utils::isNinja()) { + if ( ! $this->isPro() || ! Utils::isNinjaProd() || Utils::isReseller()) { return false; }