* Fix edit document error.

This commit is contained in:
tianshujie98
2021-04-12 09:09:29 +08:00
parent a09f161ee9
commit 02c4f87a96
+1 -1
View File
@@ -501,7 +501,7 @@ class doc extends control
$this->app->rawMethod = $objectType;
/* High light menu. */
if($objectType)
if(strpos(',product,project,execution,custom,book,', ",$objectType,") !== false)
{
$menu = $this->lang->doc->menu->$objectType;
$menu['alias'] .= ',edit';