From 2f2abb8294ec9571101e35cb64cd606c024c108a Mon Sep 17 00:00:00 2001 From: qiyu-xie Date: Fri, 13 Aug 2021 14:32:39 +0800 Subject: [PATCH] * Fix an error at custom doc page. --- module/doc/model.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/doc/model.php b/module/doc/model.php index c9dbeaaf6a..d59708b94f 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -2044,11 +2044,12 @@ class docModel extends model $currentMethod = $this->app->getMethodName(); $methodName = in_array($currentMethod, array('tablecontents', 'showfiles')) ? 'tablecontents' : 'objectLibs'; - $objectTitle = $type == 'execution' ? substr($objects[$objectID], strpos($objects[$objectID], '/') + 1) : $objects[$objectID]; if($this->app->openApp == 'doc' and $type != 'custom' and $type != 'book') { - $output = <<