Index: trunk/extensions/MultiUpload/MultiUpload.body.php |
— | — | @@ -259,10 +259,12 @@ |
260 | 260 | protected function showUploadError( $message ) { |
261 | 261 | $err ='<ul><li>'; |
262 | 262 | $file = $this->mLocalFile; |
263 | | - if ($file) |
| 263 | + if ( $file ) { |
264 | 264 | $t = $this->mLocalFile->getTitle(); |
265 | | - if ($t) |
266 | | - $err .= $t->getFullText() . ":"; |
| 265 | + if ( $t ) { |
| 266 | + $err .= $t->getFullText() . ":"; |
| 267 | + } |
| 268 | + } |
267 | 269 | $err .= $message . "</li></ul>\n"; |
268 | 270 | $this->mErrors[] = $err; |
269 | 271 | } |