* finish task #2236.

This commit is contained in:
wangyidong
2015-05-05 15:50:34 +08:00
parent e0b0312672
commit 06f1199112
5 changed files with 75 additions and 5 deletions
+1
View File
@@ -198,6 +198,7 @@ class tree extends control
$this->view->module = $module;
$this->view->type = $type;
$this->view->users = $this->loadModel('user')->getPairs('noclosed|nodeleted', $module->owner);
if($type == 'story') $this->view->products = $this->loadModel('product')->getPairs();
/* Remove self and childs from the $optionMenu. Because it's parent can't be self or childs. */
$childs = $this->tree->getAllChildId($moduleID);