From 02c856cf7d79a904fa60e770829cc751c6c5c3bc Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Tue, 29 Mar 2022 16:48:19 +0800 Subject: [PATCH] * Fix bug #21280. --- extension/lite/action/ext/lang/zh-cn/lite.php | 2 +- extension/lite/project/ext/view/managemembers.html.php | 2 +- module/common/model.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extension/lite/action/ext/lang/zh-cn/lite.php b/extension/lite/action/ext/lang/zh-cn/lite.php index 417311ac9f..6803469436 100644 --- a/extension/lite/action/ext/lang/zh-cn/lite.php +++ b/extension/lite/action/ext/lang/zh-cn/lite.php @@ -8,7 +8,7 @@ $lang->action->objectTypes['execution'] = '项目' . $lang->executionCommon; $lang->action->search = new stdclass(); $lang->action->search->objectTypeList[''] = ''; $lang->action->search->objectTypeList['project'] = '项目'; -$lang->action->search->objectTypeList['execution'] = '执行'; +$lang->action->search->objectTypeList['execution'] = '看板'; $lang->action->search->objectTypeList['story'] = "$lang->SRCommon/$lang->URCommon"; $lang->action->search->objectTypeList['task'] = '任务'; $lang->action->search->objectTypeList['user'] = '用户'; diff --git a/extension/lite/project/ext/view/managemembers.html.php b/extension/lite/project/ext/view/managemembers.html.php index 3a04c0f871..b05f9bc385 100644 --- a/extension/lite/project/ext/view/managemembers.html.php +++ b/extension/lite/project/ext/view/managemembers.html.php @@ -123,7 +123,7 @@ - +
diff --git a/module/common/model.php b/module/common/model.php index 9329bec57a..4b08b4148d 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -2257,7 +2257,7 @@ EOD; $module = $this->app->getModuleName(); $method = $this->app->getMethodName(); - if($module == 'index' || $module == 'tutorial' || $module == 'install' || $module == 'upgrade' || ($module == 'user' && ($method == 'login' || $method == 'deny')) || ($module == 'my' && $method == 'changepassword') || ($module == 'file' && $method == 'read') || ($module == 'file' && $method == 'download')) return; + if($module == 'index' || $module == 'tutorial' || $module == 'install' || $module == 'upgrade' || ($module == 'user' && ($method == 'login' || $method == 'deny' || $method == 'logout')) || ($module == 'my' && $method == 'changepassword') || ($module == 'file' && $method == 'read') || ($module == 'file' && $method == 'download')) return; $url = helper::safe64Encode($_SERVER['REQUEST_URI']); $redirectUrl = helper::createLink('index', 'index', "open=$url");