From c5d0d65e06ff7e0fcbed07947e6431d77de8d281 Mon Sep 17 00:00:00 2001 From: Conrad Vermeulen Date: Tue, 7 Aug 2007 13:15:49 +0000 Subject: [PATCH] KTS-2261 "When copying a document, the trigger is not passed the correct reference" Fixed. The reference to the new document was $oNewDocument, but should have been $oNewDoc. --- 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 76a4008..38f3290 100644 --- a/plugins/ktcore/KTDocumentActions.php +++ b/plugins/ktcore/KTDocumentActions.php @@ -1191,7 +1191,7 @@ class KTDocumentCopyAction extends KTDocumentAction { $sTrigger = $aTrigger[0]; $oTrigger = new $sTrigger; $aInfo = array( - 'document' => $oNewDocument, + 'document' => $oNewDoc, 'old_folder' => $this->oDocumentFolder, 'new_folder' => $data['browse'], ); -- libgit2 0.21.4