r36310 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36309‎ | r36310 | r36311 >
Date:20:56, 15 June 2008
Author:nikerabbit
Status:old
Tags:
Comment:
* Fix a parsing bug
Modified paths:
  • /trunk/extensions/Translate/ffs/Simple.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/ffs/Simple.php
@@ -33,7 +33,7 @@
3434 }
3535
3636 public function parseStaticHeader() {
37 - if ( $this->staticHeader === null ) {
 37+ if ( $this->staticHeader === '' ) {
3838 $this->parseHeader();
3939 }
4040 return $this->staticHeader;
@@ -69,7 +69,6 @@
7070 $staticHeader .= $line;
7171 }
7272 }
73 -
7473 fclose( $handle );
7574
7675 $this->authors = $authors;

Status & tagging log