r91450 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91449‎ | r91450 | r91451 >
Date:11:08, 5 July 2011
Author:ialex
Status:ok
Tags:
Comment:
Removed usage of error suppression operator
Modified paths:
  • /trunk/phase3/includes/diff/DairikiDiff.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/diff/DairikiDiff.php
@@ -1015,7 +1015,7 @@
10161016 $retval[] = array(
10171017 'action' => 'change',
10181018 'old' => $l,
1019 - 'new' => @$edit->closing[$i],
 1019+ 'new' => isset( $edit->closing[$i] ) ? $edit->closing[$i] : null,
10201020 'oldline' => $oldline++,
10211021 'newline' => $newline++,
10221022 );

Status & tagging log