Merge branch 'sprint/fixbug_hufangzhou_22039' into 'master'

* Fix bug #22039.

See merge request easycorp/zentaopms!3161
This commit is contained in:
朱金勇
2022-04-27 08:20:19 +00:00
+1 -1
View File
@@ -2467,7 +2467,7 @@ EOT;
if(common::hasPriv('doc', 'edit'))
{
$treeMenu[$module->id] .= "<div class='tree-actions'>";
$treeMenu[$module->id] .= html::a(helper::createLink('doc', 'edit', "docID=$docID&comment=false&objectType=$type&objectID=$objectID&libID=$libID"), "<i class='icon icon-edit'></i>", '', "title={$this->lang->doc->edit} data-app={$this->app->tab}");
$treeMenu[$module->id] .= html::a(helper::createLink('doc', 'edit', "docID={$doc->id}&comment=false&objectType=$type&objectID=$objectID&libID=$libID"), "<i class='icon icon-edit'></i>", '', "title={$this->lang->doc->edit} data-app={$this->app->tab}");
$treeMenu[$module->id] .= '</div>';
}
$treeMenu[$module->id] .= '</div>';