r82031 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82030‎ | r82031 | r82032 >
Date:20:47, 12 February 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Helps if the error tracking code doesn't procude errors itself
Modified paths:
  • /trunk/extensions/Translate/ffs/Gettext.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/ffs/Gettext.php
@@ -283,7 +283,7 @@
284284 public static function parseHeaderTags( $headers ) {
285285 $tags = array();
286286 foreach ( explode( "\n", $headers ) as $line ) {
287 - if ( strpos( $header, ':' ) === false ) {
 287+ if ( strpos( $line, ':' ) === false ) {
288288 error_log( __METHOD__ . ": $line" );
289289 }
290290 list( $key, $value ) = explode( ': ', $line, 2 );

Status & tagging log