mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Bug fixes
This commit is contained in:
parent
ad65b61a80
commit
e68e213237
@ -235,7 +235,7 @@ class AccountController extends BaseController
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($new_plan)) {
|
||||
if (!empty($new_plan) && $new_plan['plan'] != PLAN_FREE) {
|
||||
$time_used = $planDetails['paid']->diff(date_create());
|
||||
$days_used = $time_used->days;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user