diff --git a/module/doc/control.php b/module/doc/control.php index b6172dcb26..e79daeec77 100755 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -1946,7 +1946,6 @@ class doc extends control { $chapterAndDocs = $this->doc->getDocsOfLibs(array($libID), $objectType); $chapterAndDocs = array_column($chapterAndDocs, 'title', 'id'); - if(isset($chapterAndDocs[$docID])) unset($chapterAndDocs[$docID]); $this->view->chapterAndDocs = $chapterAndDocs; }