* code for task#1487.

This commit is contained in:
chencongzhi520@gmail.com
2013-07-03 08:25:39 +00:00
parent 83a516fa9d
commit d183a1a25f

View File

@@ -212,7 +212,7 @@ class tree extends control
}
$this->view->module = $module;
$this->view->type = $type;
$this->view->users = $this->loadModel('user')->getPairs('noclosed|nodeleted');
$this->view->users = $this->loadModel('user')->getPairs('noclosed|nodeleted', $module->owner);
/* Remove self and childs from the $optionMenu. Because it's parent can't be self or childs. */
$childs = $this->tree->getAllChildId($moduleID);