From fddcb81d292104d625818ea9dbb4d89ecdcbb5eb Mon Sep 17 00:00:00 2001 From: kevin_fourie Date: Mon, 19 Feb 2007 08:46:53 +0000 Subject: [PATCH] KTS-1671 "Validation breaks: Unable to move file into folder after copied file has been deleted." Fixed. --- plugins/ktcore/KTDocumentActions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ktcore/KTDocumentActions.php b/plugins/ktcore/KTDocumentActions.php index 03ff6d8..f0ea3b1 100644 --- a/plugins/ktcore/KTDocumentActions.php +++ b/plugins/ktcore/KTDocumentActions.php @@ -930,7 +930,7 @@ class KTDocumentMoveAction extends KTDocumentAction { $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.'); } - $bFileClash = KTDocumentUtil::fileExists($this->oFolder, $this->oDocument->getFilename()); + $bFileClash = KTDocumentUtil::fileExists($data['browse'], $this->oDocument->getFilename()); if ($bFileClash && isset($data['filename'])) { $filename = $data['filename']; $bFileClash = KTDocumentUtil::fileExists($this->oFolder, $filename); -- libgit2 0.21.4