From 0f40c315ab5fd2eaec693adee25dd4c647991254 Mon Sep 17 00:00:00 2001 From: CT2JAY Date: Wed, 5 Apr 2017 22:53:56 +0100 Subject: [PATCH] Change caused by the - Fixing last byte of Embedded Data --- include/functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 974b077..d5425ae 100644 --- a/include/functions.php +++ b/include/functions.php @@ -845,7 +845,9 @@ function decodeAlias($logLine) { $tok4 = encode(substr($logLine, 49, 2)); $tok5 = encode(substr($logLine, 52, 2)); $tok6 = encode(substr($logLine, 55, 2)); - $tok7 = encode(dechex(hexdec(substr($logLine, 58, 2))/2)); +// https://github.com/g4klx/MMDVMHost/commit/bba5cbc0bad65f32dde6f673255a05534ebc13ab +// $tok7 = encode(dechex(hexdec(substr($logLine, 58, 2))/2)); + $tok7 = encode(substr($logLine, 58, 2)); return $tok1.$tok2.$tok3.$tok4.$tok5.$tok6.$tok7; }