From abd43d06af87a46b8647c3bf0dd6ace8b3156262 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Wed, 31 Aug 2022 13:23:12 +0800 Subject: [PATCH] * Fix bug #26544. --- 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 76ba88cd19..cbadd7763d 100755 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -461,7 +461,7 @@ class doc extends control if(!empty($objectType) and $objectType != 'doc' and $doc->type != 'chapter' and $doc->type != 'article') { - $link = $this->createLink('doc', 'objectLibs', "type={$lib->type}&objectID=$objectID&libID={$doc->lib}&docID=$docID"); + $link = $this->createLink('doc', 'objectLibs', "type={$lib->type}&objectID=$objectID&libID={$doc->lib}&docID=$docID") . "#app={$this->app->tab}"; } if(isonlybody()) return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => 'parent'));