mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-24 15:36:33 +08:00
fix logic Expired Date
This commit is contained in:
parent
c85f680fea
commit
2401c7ae99
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class Package
|
|||
if ($p['validity_unit'] == 'Period') {
|
||||
// if customer has attribute Expired Date use it
|
||||
$day_exp = User::getAttribute("Expired Date", $c['id']);
|
||||
if (!$day_exp) {
|
||||
if ($day_exp) {
|
||||
$day_exp = 20;
|
||||
$f = ORM::for_table('tbl_customers_fields')->create();
|
||||
$f->customer_id = $c['id'];
|
||||
|
|
Loading…
Reference in a new issue