From 32d44db37562cfd908588c7931193bce225c5637 Mon Sep 17 00:00:00 2001 From: sugar1569 Date: Tue, 25 Sep 2018 15:32:19 +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/view/system/system_databackup/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/admin/view/system/system_databackup/index.php b/application/admin/view/system/system_databackup/index.php index 773dce42..0aefb2ba 100644 --- a/application/admin/view/system/system_databackup/index.php +++ b/application/admin/view/system/system_databackup/index.php @@ -132,8 +132,8 @@ $.each(data, function (name, value) { if (value['name'] != undefined) tables.push(value['name']); }); - if(tables.length < 1 || empty(tables)){ - return; + if(tables.length < 1 ){ + return false; } switch(obj.event){ case 'backup':