diff --git a/Application/Admin/Controller/UserController.class.php b/Application/Admin/Controller/UserController.class.php index c935e31fa..a399ad504 100644 --- a/Application/Admin/Controller/UserController.class.php +++ b/Application/Admin/Controller/UserController.class.php @@ -394,13 +394,13 @@ class UserController extends AdminController } } - if (strtotime($_POST['apply_leave_time'])error('申请离职时间不能早于当前时间!'); - } - - if (strtotime($_POST['leave_time'])error('离职时间不能早于当前时间!'); - } +// if (strtotime($_POST['apply_leave_time'])error('申请离职时间不能早于当前时间!'); +// } +// +// if (strtotime($_POST['leave_time'])error('离职时间不能早于当前时间!'); +// } if (strtotime($_POST['apply_leave_time'])>strtotime($_POST['leave_time'])) { $this->error('申请离职时间不得晚于离职时间!');