From c0e035a710f2e28fd5e338de4ec4844475fbff18 Mon Sep 17 00:00:00 2001 From: hawind Date: Fri, 24 Dec 2021 00:35:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DGrid=E7=B1=BB=E9=80=92?= =?UTF-8?q?=E5=BD=92bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Gdoo/Model/Grid.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Gdoo/Model/Grid.php b/app/Gdoo/Model/Grid.php index 09263c56..ddb72077 100644 --- a/app/Gdoo/Model/Grid.php +++ b/app/Gdoo/Model/Grid.php @@ -339,7 +339,7 @@ class Grid public static function recursiveJoin(&$joins, $parent_id = 0) { foreach($joins as $k => &$join) { - if ($join[4] == $parent_id) { + if ($join[4] === $parent_id) { $join[5] = $joins[$parent_id][5] + 1; static::recursiveJoin($joins, $k); }