@ -1975,8 +1975,7 @@ if (!$is_certificate_mode && !isset($_GET['move'])) {
$selector = DocumentManager::build_directory_selector(
$folders,
$document_id,
(isset($group_properties['directory']) ? $group_properties['directory'] : array()),
true
(isset($group_properties['directory']) ? $group_properties['directory'] : array())
);
}
@ -5200,11 +5200,6 @@ class DocumentManager
$attributes
if ($change_renderer) {
$renderer = $form->defaultRenderer();
$renderer->setElementTemplate('<span>{label} : {element}</span> ', 'curdirpath');
// Group documents cannot be uploaded in the root
if (empty($group_dir)) {
$parent_select->addOption(get_lang('Documents'), '/');