Author Topic: Possible typo in WL-defs.php (Saratoga WL-plugin package)  (Read 855 times)

0 Members and 1 Guest are viewing this topic.

Offline spweather

  • Contributor
  • ***
  • Posts: 130
    • Sand Point Weather
Possible typo in WL-defs.php (Saratoga WL-plugin package)
« on: November 01, 2022, 04:06:00 PM »
Hi Ken and others,

I'm dropping Weather-Display and converting my site totaly to WeatherLink (software not .com) while also trying to make it responsive.

In the process I believe I found a typo in WL-defs.php part of the Saratoga WL-plugin.

At line 93 I believe...
Code: [Select]
$mrecordhighbaro = $WX['hiYearlyBarometer'];Should be...
Code: [Select]
$mrecordhighbaro = $WX['hiMonthlyBarometer'];
Dennis
Regards,
Dennis

- Davis Wireless Vantage Pro2 Plus w/24hr FARS
- Davis (Ultra)Sonic Anemometer
- Boltek/MicroLDN TOA Lightening Detection
- Porcupine Labs LR4/Fluke 414D Laser Rangefinder snow depth measuring sensor


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Possible typo in WL-defs.php (Saratoga WL-plugin package)
« Reply #1 on: November 02, 2022, 02:10:22 PM »
Thanks Dennis.. that was an 'oops' undiscovered for 10 years.  Good eyes!

I've fixed it (and added the low monthly barometer which was missing) in the WL-plugin.zip distribution (WL-defs.php V1.04)
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline spweather

  • Contributor
  • ***
  • Posts: 130
    • Sand Point Weather
Re: Possible typo in WL-defs.php (Saratoga WL-plugin package)
« Reply #2 on: November 03, 2022, 05:32:17 PM »
Thanks for all you do, Ken

Dennis
Regards,
Dennis

- Davis Wireless Vantage Pro2 Plus w/24hr FARS
- Davis (Ultra)Sonic Anemometer
- Boltek/MicroLDN TOA Lightening Detection
- Porcupine Labs LR4/Fluke 414D Laser Rangefinder snow depth measuring sensor


 

anything