diff --git a/include/functions.php b/include/functions.php
index c290827..45b1334 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -58,7 +58,11 @@ function getFirmwareVersion() {
$firmware = "n/a";
if (count($logLines) >= 2) {
$firmware = substr($logLines[count($logLines)-2], strpos($logLines[count($logLines)-2], "description")+13, strlen($logLines[count($logLines)-2])-strpos($logLines[count($logLines)-2], "description")+13);
- $firmware = preg_replace('/GitID #([0-9A-Fa-f]{7})/', 'GitID #$1', $firmware);
+ if (0 === strpos($firmware, 'MMDVM')) {
+ $firmware = preg_replace('/GitID #([0-9A-Fa-f]{7})/', 'GitID #$1', $firmware);
+ } else if (0 === strpos($firmware, 'ZUMspot')) {
+ $firmware = preg_replace('/GitID #([0-9A-Fa-f]{7})/', 'GitID #$1', $firmware);
+ }
}
if ($firmware != "n/a") {
$fp = fopen('/tmp/MMDVMFirmware.txt', 'w');