From fab0581b529532f7fa1cbb0076333b36eafd8037 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Thu, 29 Jul 2021 15:17:03 +0800 Subject: [PATCH] * Add the outline in wiki. --- module/doc/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/control.php b/module/doc/control.php index 8aa4bf67be..f3e5f8e1ca 100644 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -1035,7 +1035,7 @@ class doc extends control } } - if(isset($doc) and $doc->type == 'text') + if(isset($doc) and ($doc->type == 'text' || $doc->type == 'article')) { /* Split content into an array. */ $content = explode("\n", $doc->content);