Works: Fix page to add document

pull/2877/head
Angel Fernando Quiroz Campos 6 years ago
parent 98c3ec782c
commit 528be58884
  1. 2
      main/work/add_document.php

@ -88,6 +88,7 @@ if (empty($docId)) {
echo Display::page_subheader(get_lang('Documents'));
echo $documentTree;
echo '<hr /><div class="clear"></div>';
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();
}

Loading…
Cancel
Save