diff --git a/app/manager/controller/UserFollow.php b/app/manager/controller/UserFollow.php index b340c10..7926882 100644 --- a/app/manager/controller/UserFollow.php +++ b/app/manager/controller/UserFollow.php @@ -323,7 +323,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'])); }