From c5d7dc15ee97a55dddaa64a2798e928d4cf581c1 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 22 Mar 2023 16:43:43 +0800 Subject: [PATCH] * Modify array key for print doc tree. --- module/doc/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/model.php b/module/doc/model.php index 4190444bf9..a6f3cc7e63 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -2907,7 +2907,7 @@ EOT; $moduleTree[$module->id] = $item; } - return $moduleTree; + return array_values($moduleTree); } /**