Bug fixes
This commit is contained in:
parent
ad65b61a80
commit
e68e213237
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue