From 3e950269efc4b28b7e76a8cedae54cc915d14218 Mon Sep 17 00:00:00 2001 From: sugar1569 Date: Tue, 25 Sep 2018 19:45:28 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/admin/controller/system/SystemDatabackup.php b/application/admin/controller/system/SystemDatabackup.php index 8b5ec555..7c85b666 100644 --- a/application/admin/controller/system/SystemDatabackup.php +++ b/application/admin/controller/system/SystemDatabackup.php @@ -119,7 +119,7 @@ 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' ? 0 : null; $time = strtotime($request->post('time')); $db = $this->DB; if(is_numeric($time) && is_null($part) && is_null($start)){