mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Fix pro plan GA tracking
This commit is contained in:
parent
5962c34c25
commit
631bc9ffe2
@ -23,7 +23,7 @@ class AnalyticsListener
|
||||
$invoice = $payment->invoice;
|
||||
$account = $payment->account;
|
||||
|
||||
if ($account->isNinjaAccount() || $account->account_key == NINJA_LICENSE_ACCOUNT_KEY) {
|
||||
if (! $account->isNinjaAccount() && $account->account_key != NINJA_LICENSE_ACCOUNT_KEY) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user