Fix pro plan GA tracking

This commit is contained in:
Hillel Coren 2017-05-28 16:16:27 +03:00
parent 10a02fbc61
commit 18cbf56439

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