From 528be588843ac9a0a0fdc8268482bfc1d01586fd Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Wed, 10 Apr 2019 11:05:14 -0500 Subject: [PATCH] Works: Fix page to add document --- main/work/add_document.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/work/add_document.php b/main/work/add_document.php index 923e61b43f..8ba65f076d 100755 --- a/main/work/add_document.php +++ b/main/work/add_document.php @@ -88,6 +88,7 @@ if (empty($docId)) { echo Display::page_subheader(get_lang('Documents')); echo $documentTree; echo '
'; + Display::display_footer(); } else { $documentInfo = DocumentManager::get_document_data_by_id($docId, $courseInfo['code']); $url = api_get_path(WEB_CODE_PATH).'work/add_document.php?id='.$workId.'&document_id='.$docId.'&'.api_get_cidreq(); @@ -118,4 +119,5 @@ if (empty($docId)) { Display::display_header(null); $form->display(); + Display::display_footer(); }