From 6e2a56b1064a83be001aee2c9c4e20b02ae0324c Mon Sep 17 00:00:00 2001 From: Darryl Quinn Date: Tue, 17 May 2016 16:03:35 -0500 Subject: [PATCH] fixes AREDN->ticket:163 KG6JEI COMMENT: Origonaly this was commit 027d0e6b6c682cbf264912842fb2fb9ce92084c7 This got lost in the repo migration and has been chery-picked back into the repo. Change-Id: If02ade8efca0520b23abccdeceb9bf0fc4eb73d1 --- files/www/cgi-bin/signal.json | 1 + 1 file changed, 1 insertion(+) diff --git a/files/www/cgi-bin/signal.json b/files/www/cgi-bin/signal.json index 051e8820..8d4fad14 100755 --- a/files/www/cgi-bin/signal.json +++ b/files/www/cgi-bin/signal.json @@ -62,6 +62,7 @@ if($parms{"realtime"}) { ($s, $n) = get_realtime_signal($dmac); } + if($s==0) { $s=$n } $sjson= sprintf("{\"label\":\"%s\",\"y\":%s}",$d,$s); $njson= sprintf("{\"label\":\"%s\",\"y\":%s}",$d,$n); } else {