From 32a7ced719fd99cdcd21f76a9dc5359190a217c4 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Tue, 4 Apr 2023 09:58:11 +0800 Subject: [PATCH] * Code for bug #33693. --- module/tree/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/tree/control.php b/module/tree/control.php index eb33b2ce0b..c026eebbc3 100644 --- a/module/tree/control.php +++ b/module/tree/control.php @@ -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;