Index: branches/uploadwizard-deployment/includes/upload/UploadBase.php |
— | — | @@ -231,6 +231,10 @@ |
232 | 232 | * @return mixed true of the file is verified, a string or array otherwise. |
233 | 233 | */ |
234 | 234 | protected function verifyFile() { |
| 235 | + # get the title, even though we are doing nothing with it, because |
| 236 | + # we need to populate mFinalExtension |
| 237 | + $nt = $this->getTitle(); |
| 238 | + |
235 | 239 | $this->mFileProps = File::getPropsFromPath( $this->mTempPath, $this->mFinalExtension ); |
236 | 240 | $this->checkMacBinary(); |
237 | 241 | |