From 0bade25c36f2f8812d97539b297e526e38e70964 Mon Sep 17 00:00:00 2001 From: liyuchun Date: Mon, 30 Aug 2021 16:10:03 +0800 Subject: [PATCH] * Fix bug #14765. --- module/common/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/common/model.php b/module/common/model.php index f634f20bb9..14e0311bee 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -390,7 +390,7 @@ class commonModel extends model } $showCreateList = true; - $isOnlyBody = strpos('program|project|product', $objectType) === false; + $isOnlyBody = strpos('effort|doc', $objectType) !== false; $iconWord = $objectType == 'doc' ? 'W' : ''; // No ducument icon, print word instead of icon. $params = '';