Index: branches/extensionless-files/includes/filerepo/OldLocalFile.php |
— | — | @@ -148,6 +148,11 @@ |
149 | 149 | wfProfileOut( __METHOD__ ); |
150 | 150 | return; |
151 | 151 | } |
| 152 | + if ( empty( $this->archive_name ) ) { |
| 153 | + wfDebug( __METHOD__.": archive name missing, aborting\n" ); |
| 154 | + wfProfileOut( __METHOD__ ); |
| 155 | + return; |
| 156 | + } |
152 | 157 | |
153 | 158 | $dbw = $this->repo->getMasterDB(); |
154 | 159 | list( $major, $minor ) = self::splitMime( $this->mime ); |