* Fix error.

This commit is contained in:
tianshujie
2023-03-23 15:48:50 +08:00
parent 363db8b962
commit f98ec5fc1c
4 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -2331,7 +2331,7 @@ class treeModel extends model
$module->name = strip_tags(trim($data->name));
if(empty($module->name))
{
dao::$errors[] = sprintf($this->lang->notempty, $this->lang->tree->dir);
dao::$errors[] = sprintf($this->lang->error->notempty, $this->lang->tree->dir);
return false;
}