Index: trunk/extensions/UploadLocal/UploadLocalForm.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | 'tmp_name' => $name, |
29 | 29 | 'error' => 0 |
30 | 30 | ); |
31 | | - $this->upload->initialize( $name, new WebRequestUploadLocal( true, $fileInfo ) ); |
| 31 | + $this->upload->initialize( $dest, new WebRequestUploadLocal( true, $fileInfo ) ); |
32 | 32 | } |
33 | 33 | |
34 | 34 | function processUpload( $user ) { |