From 1ceb502d5dcc1adb4c9b0eb827f97bf5fbd02c2a Mon Sep 17 00:00:00 2001 From: lqmac Date: Sat, 28 Oct 2023 21:29:41 +0800 Subject: [PATCH] 1 --- application/admin/controller/user/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/admin/controller/user/User.php b/application/admin/controller/user/User.php index 55cea8a..d843f87 100755 --- a/application/admin/controller/user/User.php +++ b/application/admin/controller/user/User.php @@ -81,7 +81,7 @@ class User extends Backend if ($this->request->isPost()){ $params = $this->request->post("row/a"); $params['updatetime'] = time(); - $params['deadline'] = strtotime($params['deadline']) < 0 ? 0 : strtotime($params['deadline']); + $params['deadline'] = 0;//strtotime($params['deadline']) < 0 ? 0 : strtotime($params['deadline']); // var_dump($params); // exit(); $ret = $this->model->update($params, ['id'=>$ids]);