* Code for bug#33977.

This commit is contained in:
xieqiyu
2023-04-10 08:37:27 +00:00
parent a81a24ff6a
commit 3ce26fb702
+1 -1
View File
@@ -1855,7 +1855,7 @@ class treeModel extends model
if(empty($module->name)) helper::end(js::alert(sprintf($this->lang->error->notempty, $this->lang->doc->catalogName)));
}
$modules = $self->type == 'story' ? $this->getOptionMenu($self->root, 'story', 0, 'all') : '';
$modules = $self->type == 'story' ? $this->getOptionMenu($self->root, 'story', 0, 'all') : array();
$parent = $this->getById($this->post->parent);
$childs = $this->getAllChildId($moduleID);