mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-22 15:30:57 -04:00
Fix plan parsing
This commit is contained in:
parent
44d5b78e3e
commit
a73b2828b6
@ -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…
x
Reference in New Issue
Block a user