Get TalkAlias only printable caracters
This commit is contained in:
parent
6b6bd23375
commit
1da9ee8b82
1 changed files with 2 additions and 1 deletions
|
@ -262,8 +262,9 @@ function getHeardList($logLines, $onlyLast) {
|
|||
}
|
||||
|
||||
if(strpos($logLine, "0000") > 0){
|
||||
$decodedAlias = decodeAlias($logLine);
|
||||
$decodedAlias = $decodedAlias = preg_replace('/[\x00-\x1F\x7F-\xA0\xAD]/u', '', decodeAlias($logLine));
|
||||
if ($decodedAlias == "" && $alias =="") $decodedAlias="---";
|
||||
else $alias = str_replace("---", "", $alias);
|
||||
if ($alias =="")
|
||||
$alias =$decodedAlias;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue