From dfd5ff333a152d47417212365f193eeaaaad75c6 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Wed, 4 May 2016 14:59:45 +0200 Subject: [PATCH] LH shows, if someone is transmitting --- include/lh.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/lh.php b/include/lh.php index 3a35e3a..aad3670 100644 --- a/include/lh.php +++ b/include/lh.php @@ -32,9 +32,13 @@ for ($i = 0; ($i < LHLINES) AND ($i < count($lastHeard)); $i++) { echo"$listElem[3]"; echo"$listElem[4]"; echo"$listElem[5]"; - echo"$listElem[6]"; - echo"$listElem[7]"; - echo"$listElem[8]"; + if ($listElem[6] == null) { + echo'transmitting'; + } else { + echo"$listElem[6]"; + echo"$listElem[7]"; + echo"$listElem[8]"; + } echo"\n"; }