From af3db56e35241d01bb1ec2825994cdc1d215ef84 Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Mon, 21 Jun 2021 10:03:51 +0800 Subject: [PATCH] * Adjust getRemind condition. --- module/block/view/dashboard.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/block/view/dashboard.html.php b/module/block/view/dashboard.html.php index d4f432eca2..484f5d26dc 100644 --- a/module/block/view/dashboard.html.php +++ b/module/block/view/dashboard.html.php @@ -113,7 +113,7 @@ $(function() { $.getJSON(createLink('misc', 'getRemind'), function(response) { - if(!response || !response.data) return; + if(!response || !response.data || !response.data.content) return; var myModalTrigger = new $.zui.ModalTrigger( {