diff --git a/app/manager/controller/UserFollow.php b/app/manager/controller/UserFollow.php index 2f38a36..b340c10 100644 --- a/app/manager/controller/UserFollow.php +++ b/app/manager/controller/UserFollow.php @@ -83,7 +83,8 @@ class UserFollow extends Controller if (!empty($search['last_month']['s_time'])) { $date1 = date('Y-m-d', strtotime($search['last_month']['s_time'])); $date2 = date('Y-m-d H:i:s', strtotime($search['last_month']['e_time'])); - } elseif (!empty($search['new_month']['s_time'])) { + } + if (!empty($search['new_month']['s_time'])) { $date3 = date('Y-m-d', strtotime($search['new_month']['s_time'])); $date4 = date('Y-m-d H:i:s', strtotime($search['new_month']['e_time'])); }