Wordpress 3.5
[autoinstalls/wordpress.git] / wp-includes / wp-diff.php
index 052bf133458f5c662fe760e1494ec05f75db88cd..65dd00743de144a0ee50010ec7de3d826019889b 100644 (file)
@@ -422,7 +422,7 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
                $chars2 = count_chars($string2);
 
                // L1-norm of difference vector.
-               $difference = array_sum( array_map( array(&$this, 'difference'), $chars1, $chars2 ) );
+               $difference = array_sum( array_map( array($this, 'difference'), $chars1, $chars2 ) );
 
                // $string1 has zero length? Odd. Give huge penalty by not dividing.
                if ( !$string1 )