Browse Source

update: reset day

tokumeikoi 4 năm trước cách đây
mục cha
commit
254fdf6049
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Controllers/User/UserController.php

+ 1 - 1
app/Http/Controllers/User/UserController.php

@@ -165,7 +165,7 @@ class UserController extends Controller
     {
         if ($user->expired_at <= time() || $user->expired_at === NULL) return null;
         $day = date('d', $user->expired_at);
-        $today = date('d', strtotime('-1 day'));
+        $today = date('d');
         $lastDay = date('d', strtotime('last day of +0 months'));
 
         if ((int)config('v2board.reset_traffic_method') === 0) {