Commit 5e013e5a8b3ef4ccc42d6c7d4e7afa10f38232ed
1 parent
052d14ab
Don't do a call-time pass-by-reference.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4485 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
2 additions
and
2 deletions
plugins/ktcore/folder/BulkImport.php
| ... | ... | @@ -67,7 +67,7 @@ class KTBulkImportFolderAction extends KTFolderAction { |
| 67 | 67 | 'metadata' => $aFields, |
| 68 | 68 | ); |
| 69 | 69 | |
| 70 | - $po =& new JavascriptObserver(&$this); | |
| 70 | + $po =& new JavascriptObserver($this); | |
| 71 | 71 | $po->start(); |
| 72 | 72 | $oUploadChannel =& KTUploadChannel::getSingleton(); |
| 73 | 73 | $oUploadChannel->addObserver($po); | ... | ... |
plugins/ktcore/folder/addDocument.php
| ... | ... | @@ -47,7 +47,7 @@ class KTFolderAddDocumentAction extends KTFolderAction { |
| 47 | 47 | function do_upload() { |
| 48 | 48 | $this->oPage->setBreadcrumbDetails(_("add document")); |
| 49 | 49 | $this->oPage->setTitle(_('Add a document')); |
| 50 | - $mpo =& new JavascriptObserver(&$this); | |
| 50 | + $mpo =& new JavascriptObserver($this); | |
| 51 | 51 | // $mpo =& new KTSinglePageObserver(&$this); |
| 52 | 52 | $oUploadChannel =& KTUploadChannel::getSingleton(); |
| 53 | 53 | $oUploadChannel->addObserver($mpo); | ... | ... |