Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit d57fcb5f authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

encode url

parent 9f9ff75a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -79,6 +79,7 @@ function sendInviteMail($to, $secret, $lang, ?string $referrer = null, ?string $
        $signupURL .= "&shop=$shopLocation";
    }
    $SENDGRID_API_KEY = getenv("SENDGRID_API_KEY");
    $signupURL = urlencode($signupURL);
    if (!empty($SENDGRID_API_KEY)) {
        return sendInviteMailWithSendGrid($to, $signupURL);
    }