1
0
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:
Hillel Coren 2017-05-28 16:16:10 +03:00
parent 5962c34c25
commit 631bc9ffe2

View File

@ -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;
}