Fix the log viewer by removing an extra htmlentities.

This commit is contained in:
Mark Crane 2013-09-19 16:24:42 +00:00
parent 7c89922109
commit ae96b67d79
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ if (permission_exists('log_view')) {
//color adjustments on words in log line //color adjustments on words in log line
for ($i=2; $i<=$MAXEL; $i++){ for ($i=2; $i<=$MAXEL; $i++){
if (isset ($v1["pattern".$i])){ if (isset ($v1["pattern".$i])){
$log_line = str_replace($v1["pattern".$i], "<font color=\"{$v1["color".$i]}\">{$v1["pattern".$i]}</font>", htmlentities($log_line)); $log_line = str_replace($v1["pattern".$i], "<font color=\"{$v1["color".$i]}\">{$v1["pattern".$i]}</font>", $log_line);
} }
} }
$ary_output[] = "<font color=\"{$v1[color]}\" face=\"{$v1[font]}\">".$log_line."</font><br>"; $ary_output[] = "<font color=\"{$v1[color]}\" face=\"{$v1[font]}\">".$log_line."</font><br>";