Document : Comment basename($document_to_move['path']) to prevent twice folder #3596 - refs GH#3596

pull/3660/head
Carlos Alvarado 5 years ago
parent 3f0490aa55
commit ced1889f6b
No known key found for this signature in database
GPG Key ID: B612DB1EE6658FBB
  1. 2
      main/document/document.php

@ -1165,7 +1165,7 @@ if ($isAllowedToEdit || $groupMemberWithUploadRights ||
DocumentManager::updateDbInfo(
'update',
$document_to_move['path'],
$moveTo.'/'.basename($document_to_move['path'])
$moveTo.'/' // .basename($document_to_move['path'])
);
// Update database item property

Loading…
Cancel
Save