|
@@ -225,10 +225,7 @@ class Pay
|
|
|
|
|
|
$active = Dever::load('act/order')->getActive($order['product_id']);
|
|
|
$active_state = true;
|
|
|
- if ($active && $active['status'] == 2) {
|
|
|
- //$active_state = false;
|
|
|
- }
|
|
|
- if ($active && time() > $active['end']) {
|
|
|
+ if ($active && $active['status'] == 1 && time() > $active['end']) {
|
|
|
$active_state = false;
|
|
|
}
|
|
|
if ($active_state) {
|