mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix pro plan GA tracking
This commit is contained in:
parent
10a02fbc61
commit
18cbf56439
@ -23,7 +23,7 @@ class AnalyticsListener
|
|||||||
$invoice = $payment->invoice;
|
$invoice = $payment->invoice;
|
||||||
$account = $payment->account;
|
$account = $payment->account;
|
||||||
|
|
||||||
if ($account->isNinjaAccount() || $account->account_key == NINJA_LICENSE_ACCOUNT_KEY) {
|
if (! $account->isNinjaAccount() && $account->account_key != NINJA_LICENSE_ACCOUNT_KEY) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user