diff options
Diffstat (limited to 'includes/normal/RandomTest.php')
-rw-r--r-- | includes/normal/RandomTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/normal/RandomTest.php b/includes/normal/RandomTest.php index e2601366..b86ab7c3 100644 --- a/includes/normal/RandomTest.php +++ b/includes/normal/RandomTest.php @@ -68,6 +68,7 @@ function showDiffs( $a, $b ) { $diffs = new Diff( $ota, $nta ); $formatter = new TableDiffFormatter(); $funky = $formatter->format( $diffs ); + $matches = array(); preg_match_all( '/<span class="diffchange">(.*?)<\/span>/', $funky, $matches ); foreach( $matches[1] as $bit ) { $hex = bin2hex( $bit ); |