mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix plan parsing
This commit is contained in:
parent
db4fdc0488
commit
b9e91f02e4
@ -719,7 +719,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