r114682 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114681‎ | r114682 | r114683 >
Date:11:46, 3 April 2012
Author:cneubauer
Status:new
Tags:
Comment:
Fix bug reported on extension talk page about append/prepend the file name not working. Should also fix an error in 1.18.1.
Modified paths:
  • /trunk/extensions/UploadLocal/UploadLocalForm.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadLocal/UploadLocalForm.php
@@ -27,7 +27,7 @@
2828 'tmp_name' => $name,
2929 'error' => 0
3030 );
31 - $this->upload->initialize( $name, new WebRequestUploadLocal( true, $fileInfo ) );
 31+ $this->upload->initialize( $dest, new WebRequestUploadLocal( true, $fileInfo ) );
3232 }
3333
3434 function processUpload( $user ) {