include last day of month (expire bug)

This commit is contained in:
Ricsi
2019-10-01 12:08:15 +02:00
parent 5f4599f299
commit a1b393a504
3 changed files with 4 additions and 4 deletions

View File

@@ -113,7 +113,7 @@ class money_deposit {
}
}
public function is_expired() {
return $this->get_mod_expire_date() <= date('Y-m-d');
return $this->get_mod_expire_date() < date('Y-m-d');
}
public static function create_money_deposit($_user_id, $_date, $_sum, $_lease, $_pt = 1, $_sets_date = false) {