Fixes bug when moving a document see #5727

skala
Yoselyn Castillo 13 years ago
parent a3ca6ce98b
commit 9f5b32f2c8
  1. 4
      main/document/document.php

@ -1133,7 +1133,9 @@ echo '</div>'; //end actions
if (isset($message)) {
echo $message;
}
if (isset($_POST['move_to'])) {
$document_id = DocumentManager::get_document_id($course_info, $_POST['move_to']);
}
if (!$is_certificate_mode) {
echo build_directory_selector($folders, $document_id, (isset($group_properties['directory']) ? $group_properties['directory'] : array()), true);
}

Loading…
Cancel
Save