diff --git a/module/tree/control.php b/module/tree/control.php index 2b3957afc4..e9ceb434e1 100644 --- a/module/tree/control.php +++ b/module/tree/control.php @@ -43,6 +43,7 @@ class tree extends control $this->loadModel('doc'); if($rootID == 'product' or $rootID == 'project') { + $viewType = $rootID . 'doc'; $lib = new stdclass(); $lib->id = $rootID; $lib->name = $this->lang->doc->systemLibs[$rootID];