Merge branch 'master' of github.com:easysoft/zentaopms

This commit is contained in:
wangyidong
2016-05-11 09:26:39 +08:00
+1
View File
@@ -1537,6 +1537,7 @@ class treeModel extends model
foreach($module->children as $children)
{
if($viewType == 'task' and isset($parentTypePairs[$children->parent]) and $parentTypePairs[$children->parent] != 'task') continue;
if($children->parent != 0) continue;//Filter project children modules.
$tree[] = $children;
}
}