1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Bug fixes

This commit is contained in:
Hillel Coren 2016-07-11 23:38:06 +03:00
parent ad65b61a80
commit e68e213237

View File

@ -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;