From 22f322fb94d4b58cfbf88d33c02f130629865916 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Wed, 5 Jan 2022 20:47:05 +0800 Subject: [PATCH] * Fix bug #18220. --- db/update15.7.1.sql | 2 +- module/company/view/dynamic.html.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/update15.7.1.sql b/db/update15.7.1.sql index b1af613df4..b4e6a80b7f 100644 --- a/db/update15.7.1.sql +++ b/db/update15.7.1.sql @@ -136,7 +136,7 @@ REPLACE INTO `zt_stage` (`name`,`percent`,`type`,`createdBy`,`createdDate`,`edit ('发布','10','release','admin','2020-02-08 21:08:30','admin','2020-02-12 13:50:27','0'), ('总结评审','5','review','admin','2020-02-08 21:08:45','admin','2020-02-12 13:50:27','0'); -INSERT INTO `zt_lang` (`lang`, `module`, `section`, `key`, `value`, `system`) VALUES +REPLACE INTO `zt_lang` (`lang`, `module`, `section`, `key`, `value`, `system`) VALUES ('all','stage','typeList','request','需求', '1'), ('all','stage','typeList','design','设计', '1'), ('all','stage','typeList','dev','开发', '1'), diff --git a/module/company/view/dynamic.html.php b/module/company/view/dynamic.html.php index 65620af0ed..ab820eed0b 100644 --- a/module/company/view/dynamic.html.php +++ b/module/company/view/dynamic.html.php @@ -66,7 +66,7 @@ objectType == 'meeting') $tab = $action->project ? "data-app='project'" : "data-app='my'";?> maxVersion) and strpos(",{$config->action->assetType},", ",{$action->objectType},") !== false) or empty($action->objectName)) + if(empty($action->objectName)) { echo '#' . $action->objectID; }