diff --git a/module/doc/control.php b/module/doc/control.php index d66c7ae8f4..52a5c4c5f1 100755 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -483,6 +483,7 @@ class doc extends control $this->view->moduleOptionMenu = $this->tree->getOptionMenu($libID, 'doc', $startModuleID = 0); $this->view->type = $type; $this->view->libs = $this->doc->getLibs('all', $extra = 'withObject|noBook', $libID, $objectID); + $this->view->lib = $lib; $this->view->groups = $this->loadModel('group')->getPairs(); $this->view->users = $this->user->getPairs('noletter|noclosed|nodeleted', $doc->users); $this->display(); diff --git a/module/doc/view/edit.html.php b/module/doc/view/edit.html.php index 9a092fe015..3569041e5c 100644 --- a/module/doc/view/edit.html.php +++ b/module/doc/view/edit.html.php @@ -83,8 +83,9 @@