From: Alexandre Emsenhuber Date: Tue, 5 Jul 2011 11:08:05 +0000 (+0000) Subject: Removed usage of error suppression operator X-Git-Tag: 1.31.0-rc.0~29065 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=7f50a3d5b9827a70fb5029034c67bf37e2fc05a4;p=lhc%2Fweb%2Fwiklou.git Removed usage of error suppression operator --- diff --git a/includes/diff/DairikiDiff.php b/includes/diff/DairikiDiff.php index fc56f59b34..8f19712b5c 100644 --- a/includes/diff/DairikiDiff.php +++ b/includes/diff/DairikiDiff.php @@ -1015,7 +1015,7 @@ class ArrayDiffFormatter extends DiffFormatter { $retval[] = array( 'action' => 'change', 'old' => $l, - 'new' => @$edit->closing[$i], + 'new' => isset( $edit->closing[$i] ) ? $edit->closing[$i] : null, 'oldline' => $oldline++, 'newline' => $newline++, );