dever 6 tahun lalu
induk
melakukan
f93a653f4b
1 mengubah file dengan 1 tambahan dan 4 penghapusan
  1. 1 4
      act/lib/Pay.php

+ 1 - 4
act/lib/Pay.php

@@ -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) {