* code for task #2672.

This commit is contained in:
wangyidong
2016-10-26 14:28:55 +08:00
parent 000addf392
commit 0b4e00d77d
10 changed files with 347 additions and 6 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ class tree extends control
}
$module = $this->tree->getById($moduleID);
if($module->owner == null and $module->root != 0 and $module->type != 'task')
if($module->owner == null and $module->root != 0 and $module->type != 'task' and $type != 'doc')
{
$module->owner = $this->loadModel('product')->getById($module->root)->QD;
}