summaryrefslogtreecommitdiff
path: root/contrib/skyview.php
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/skyview.php')
-rwxr-xr-xcontrib/skyview.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/skyview.php b/contrib/skyview.php
index 61fefd70..58efd99a 100755
--- a/contrib/skyview.php
+++ b/contrib/skyview.php
@@ -148,7 +148,8 @@ function azel2xy($az, $el, $sz){
function cellplot($im, $sz, $C, $cellsize, $e){
list($sv, $el, $az, $snr, $u) = $e;
- if ((0 == $sv) || (0 == $az + $el + $snr))
+ if ((0 == $sv) || (0 == $az + $el + $snr) ||
+ ($az < 0) || ($el < 0))
return;
$color = $C['brightgreen'];