diff options
author | Marek A. R <aptx@phpbb.com> | 2008-08-16 22:24:54 +0000 |
---|---|---|
committer | Marek A. R <aptx@phpbb.com> | 2008-08-16 22:24:54 +0000 |
commit | d006f319cf2b6867751966e96c5d02d51c1ad94a (patch) | |
tree | 9921ba433bf9a4a8526670cce364690264adf99e /phpBB | |
parent | c73ecdd9d7b70790df0af6ddd9b579ee4e71642d (diff) | |
download | forums-d006f319cf2b6867751966e96c5d02d51c1ad94a.tar forums-d006f319cf2b6867751966e96c5d02d51c1ad94a.tar.gz forums-d006f319cf2b6867751966e96c5d02d51c1ad94a.tar.bz2 forums-d006f319cf2b6867751966e96c5d02d51c1ad94a.tar.xz forums-d006f319cf2b6867751966e96c5d02d51c1ad94a.zip |
More 5.3 compatibility.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8766 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/diff/renderer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/diff/renderer.php b/phpBB/includes/diff/renderer.php index 0cb2d7d23b..2e0ec86e75 100644 --- a/phpBB/includes/diff/renderer.php +++ b/phpBB/includes/diff/renderer.php @@ -137,7 +137,7 @@ class diff_renderer { // Create a new block with as many lines as we need for the trailing context. $context = array_slice($edit->orig, 0, $ntrail); - $block[] = &new diff_op_copy($context); + $block[] = new diff_op_copy($context); } $output .= $this->_block($x0, $ntrail + $xi - $x0, $y0, $ntrail + $yi - $y0, $block); @@ -160,7 +160,7 @@ class diff_renderer if ($context) { - $block[] = &new diff_op_copy($context); + $block[] = new diff_op_copy($context); } } $block[] = $edit; |