mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for migrated user checks
This commit is contained in:
parent
57bd8eba02
commit
4e6ca0ed77
@ -67,7 +67,7 @@ class SupportMessageSent extends Mailable
|
||||
$db = str_replace('db-ninja-', '', $company->db);
|
||||
$is_large = $company->is_large ? 'L' : 'S';
|
||||
$platform = array_key_exists('platform', $this->data) ? $this->data['platform'] : 'U';
|
||||
$migrated = strlen($company->company_key) == 32 ? 'M' : '';
|
||||
$migrated = ctype_lower(preg_replace('/[0-9]+/', '', $company->company_key)) ? 'M' : '';
|
||||
$trial = $account->isTrial() ? 'T' : '';
|
||||
$plan = str_replace('_', ' ', $plan);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user