Update log_viewer.php

This commit is contained in:
FusionPBX
2019-08-13 12:55:17 -06:00
committed by GitHub
parent d07ef4711a
commit 60ea942e1a
+1 -1
View File
@@ -244,7 +244,7 @@
if ($skip_line === false) { if ($skip_line === false) {
foreach ($array_filter as $v1) { foreach ($array_filter as $v1) {
$pos = strpos($log_line, $v1['pattern']); $pos = strpos($log_line, escape($v1['pattern']));
//echo "</br> POS is: '$pos'</br>"; //echo "</br> POS is: '$pos'</br>";
if ($pos !== false) { if ($pos !== false) {
//color adjustments on words in log line //color adjustments on words in log line