* Modify version judgment logic.

This commit is contained in:
tianshujie
2022-02-24 16:21:58 +08:00
parent b7c3e92e95
commit 30d3fc1303
+1 -1
View File
@@ -527,7 +527,7 @@ class commonModel extends model
/* Check whether the creation permission is available, and print create buttons. */
foreach($lang->createIcons as $objectType => $objectIcon)
{
if($this->config->edition == 'open' and $objectType == 'effort') continue;
if($config->edition == 'open' and $objectType == 'effort') continue;
if($config->systemMode == 'classic' and strpos('project|program', $objectType) !== false) continue;
if(!empty($_COOKIE['feedbackView']) and strpos('todo|effort', $objectType) === false) continue;