* Code for bug #33693.

This commit is contained in:
caoyanyi
2023-04-04 09:58:11 +08:00
parent 8e6fe16197
commit 32a7ced719
+1 -1
View File
@@ -505,7 +505,7 @@ class tree extends control
{
$module = $this->tree->getByID($moduleID);
$confirmLang = $this->lang->tree->confirmDelete;
if($module->type == 'doc') $confirmLang = $this->lang->tree->confirmDeleteMenu;
if($module->type == 'doc' or $module->type == 'api') $confirmLang = $this->lang->tree->confirmDeleteMenu;
if($module->type == 'line') $confirmLang = $this->lang->tree->confirmDeleteLine;
if($module->type == 'host') $confirmLang = $this->lang->tree->confirmDeleteHost;
if(strpos($this->config->tree->groupTypes, ",$module->type,") !== false) $confirmLang = $this->lang->tree->confirmDeleteGroup;