diff --git a/module/doc/control.php b/module/doc/control.php index e6d544776c..9a6c4ba9dd 100755 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -1996,7 +1996,7 @@ class doc extends control $this->view->objectType = $objectType; $this->view->lib = $lib; $this->view->libs = $libPairs; - $this->view->docID = $docID; + $this->view->parentID = $parentID; $this->view->isDraft = $isDraft == 'yes'; $this->view->title = $title; $this->view->modalType = $modalType; diff --git a/module/doc/ui/setdocbasic.html.php b/module/doc/ui/setdocbasic.html.php index 791a6d9a55..4291102263 100644 --- a/module/doc/ui/setdocbasic.html.php +++ b/module/doc/ui/setdocbasic.html.php @@ -88,7 +88,7 @@ formPanel ( set::name('parent'), set::items($chapterAndDocs), - set::value($docID), + set::value($parentID), set::required(true) ) : null, ($modalType == 'doc' || $modalType == 'chapter') && empty($doc->parent) ? picker