|
@@ -357,7 +357,7 @@ function ViewFile()
|
|
|
if ($max <= 0 || $min >= $max)
|
|
|
fatal_lang_error('error_bad_line');
|
|
|
|
|
|
- $file_data = explode('<br>', highlight_php_code($smcFunc['htmlspecialchars'](implode('', file($file)))));
|
|
|
+ $file_data = explode('<br />', highlight_php_code($smcFunc['htmlspecialchars'](implode('', file($file)))));
|
|
|
|
|
|
// We don't want to slice off too many so lets make sure we stop at the last one
|
|
|
$max = min($max, max(array_keys($file_data)));
|