Fix the log viewer by removing an extra htmlentities.
This commit is contained in:
parent
7c89922109
commit
ae96b67d79
|
|
@ -246,7 +246,7 @@ if (permission_exists('log_view')) {
|
|||
//color adjustments on words in log line
|
||||
for ($i=2; $i<=$MAXEL; $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>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue