From 35fd9537ff64ebbf76ccb340f4b39ae5852dcfcc Mon Sep 17 00:00:00 2001 From: sugar1569 Date: Tue, 25 Sep 2018 19:38:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/system/SystemDatabackup.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/admin/controller/system/SystemDatabackup.php b/application/admin/controller/system/SystemDatabackup.php index 8b5ec555..cdc85e85 100644 --- a/application/admin/controller/system/SystemDatabackup.php +++ b/application/admin/controller/system/SystemDatabackup.php @@ -119,7 +119,8 @@ class SystemDatabackup extends AuthController public function import(Request $request = null) { $part = $request->post('part')?:null; - $start = $request->post('start')==0?0:null; + $start = $request->post('start')!=''?0:null; + var_dump($request->post('start')); $time = strtotime($request->post('time')); $db = $this->DB; if(is_numeric($time) && is_null($part) && is_null($start)){