Commit fddcb81d292104d625818ea9dbb4d89ecdcbb5eb
1 parent
380fb732
KTS-1671
"Validation breaks: Unable to move file into folder after copied file has been deleted." Fixed. Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@6303 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
plugins/ktcore/KTDocumentActions.php
| ... | ... | @@ -930,7 +930,7 @@ class KTDocumentMoveAction extends KTDocumentAction { |
| 930 | 930 | $extra_errors['name'] = _kt('A document with this title already exists in your chosen folder. Please choose a different folder, or specify a new title for the copied document.'); |
| 931 | 931 | } |
| 932 | 932 | |
| 933 | - $bFileClash = KTDocumentUtil::fileExists($this->oFolder, $this->oDocument->getFilename()); | |
| 933 | + $bFileClash = KTDocumentUtil::fileExists($data['browse'], $this->oDocument->getFilename()); | |
| 934 | 934 | if ($bFileClash && isset($data['filename'])) { |
| 935 | 935 | $filename = $data['filename']; |
| 936 | 936 | $bFileClash = KTDocumentUtil::fileExists($this->oFolder, $filename); | ... | ... |