r75732 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75731‎ | r75732 | r75733 >
Date:18:37, 31 October 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
stfu warning
Modified paths:
  • /trunk/extensions/Translate/FFS.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/FFS.php
@@ -342,7 +342,7 @@
343343 $value = str_replace( '\n', "\n", $value );
344344 }
345345
346 - if ( $value[strlen( $value ) - 1] === "\\" ) {
 346+ if ( strlen( $value ) && $value[strlen( $value ) - 1] === "\\" ) {
347347 $value = substr( $value, 0, strlen( $value ) - 1 );
348348 $linecontinuation = true;
349349 } else {

Status & tagging log