X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fhistoryblob%2FDiffHistoryBlob.php;h=5173916b9ba52f528f668089f906476af0a200bb;hb=4e9eb2f8d75784c78715e7dc3a9c8084d5c54943;hp=fdb3dc4daa5cc6694270eb7f36d02c0b3b0df3dc;hpb=e209dcf11e16ca57306fe450277477a6bfd8480a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/historyblob/DiffHistoryBlob.php b/includes/historyblob/DiffHistoryBlob.php index fdb3dc4daa..5173916b9b 100644 --- a/includes/historyblob/DiffHistoryBlob.php +++ b/includes/historyblob/DiffHistoryBlob.php @@ -155,14 +155,13 @@ class DiffHistoryBlob implements HistoryBlob { $seqName = 'main'; } } - $seq =& $sequences[$seqName]; - $tail = $seq['tail']; + + $tail = $sequences[$seqName]['tail']; $diff = $this->diff( $tail, $text ); - $seq['diffs'][] = $diff; - $seq['map'][] = $i; - $seq['tail'] = $text; + $sequences[$seqName]['diffs'][] = $diff; + $sequences[$seqName]['map'][] = $i; + $sequences[$seqName]['tail'] = $text; } - unset( $seq ); // unlink dangerous alias // Knit the sequences together $tail = '';