From f2fd42e9b9c90dcbc3267294b3d0f60db3be6146 Mon Sep 17 00:00:00 2001 From: daitingting Date: Mon, 17 Mar 2025 01:59:09 +0000 Subject: [PATCH] * [#60362,done,0.1h] Adjust tip. --- module/doc/control.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/doc/control.php b/module/doc/control.php index 9a6c4ba9dd..6f6416d8fa 100755 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -574,6 +574,9 @@ class doc extends control helper::setcookie('lastDocModule', $moduleID); if(!isset($_POST['lib']) && strpos($_POST['module'], '_') !== false) list($_POST['lib'], $_POST['module']) = explode('_', $_POST['module']); + + if($_POST['type'] == 'chapter') $this->lang->doc->title = $this->lang->doc->chapterName; + $docData = form::data() ->setDefault('addedBy', $this->app->user->account) ->setDefault('editedBy', $this->app->user->account)