Fix plan parsing
This commit is contained in:
parent
44d5b78e3e
commit
a73b2828b6
1 changed files with 1 additions and 1 deletions
|
|
@ -710,7 +710,7 @@ class BasePaymentDriver
|
|||
$term = strtolower($matches[2]);
|
||||
$price = $invoice_item->cost;
|
||||
if ($plan == PLAN_ENTERPRISE) {
|
||||
preg_match('/###[\d] [\w]* (\d*)/', $invoice_item->notes, $numUserMatches);
|
||||
preg_match('/###[\d]* [\w]* (\d*)/', $invoice_item->notes, $numUserMatches);
|
||||
if (count($numUserMatches)) {
|
||||
$numUsers = $numUserMatches[1];
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue