From 0c8585008843c7fbf047488760973cb38b608f64 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 7 Feb 2023 17:30:54 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E9=9D=9E=E6=8A=98=E5=8F=A0=E5=9D=97?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E8=B7=B3=E8=BD=AC=E4=B8=8D=E5=BA=94=E8=AF=A5?= =?UTF-8?q?=E8=81=9A=E7=84=A6=20Fix=20https://github.com/siyuan-note/siyua?= =?UTF-8?q?n/issues/7276?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/block.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/block.go b/kernel/model/block.go index ae376992e..6ed99cb6f 100644 --- a/kernel/model/block.go +++ b/kernel/model/block.go @@ -91,7 +91,7 @@ func IsBlockFolded(id string) bool { for i := 0; i < 32; i++ { b, _ := getBlock(id, nil) if nil == b { - return true + return false } if "1" == b.IAL["fold"] {