From 36196cefd828eba8a5a40c4ef6032c49ccefa8b8 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Tue, 22 Nov 2016 22:58:05 +0000 Subject: [PATCH] fixed https://github.com/dg9vh/MMDVMHost-Dashboard/issues/66 --- txinfo.php | 6 ++++++ version.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/txinfo.php b/txinfo.php index f57660f..5ea1dba 100644 --- a/txinfo.php +++ b/txinfo.php @@ -18,7 +18,9 @@ $lastHeard = getLastHeard($reverseLogLinesMMDVM, True); echo""; +$counter = 0; foreach ($lastHeard as $listElem) { + $counter +=1; if (defined("ENABLEXTDLOOKUP") && $listElem[7] == null || !defined("ENABLEXTDLOOKUP") && $listElem[6] == null) { echo ""; echo"$listElem[0]"; @@ -65,6 +67,10 @@ foreach ($lastHeard as $listElem) { echo"$diff s"; } echo ""; + } else { + if ($counter == 1) { + echo ""; + } } } ?> diff --git a/version.php b/version.php index 2326314..da6bba3 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@