From 949dd85b3bdeb72a016b96daa45e17281542c127 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 28 Apr 2025 15:42:45 +0800 Subject: [PATCH] * [bug#61906] Change the error tip for template. --- module/doc/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/doc/control.php b/module/doc/control.php index 8beeb31221..0dc149cfbc 100755 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -653,6 +653,8 @@ class doc extends control { if(!empty($_POST)) { + $this->lang->doc->title = $_POST['type'] == 'chapter' ? $this->lang->doc->chapterName : $this->lang->docTemplate->title; + helper::setcookie('lastDocModule', $moduleID); $docData = form::data() ->setDefault('addedBy', $this->app->user->account)