lightmaster / Meteobridge-Weather34-Template

Github repository for the Meteobridge version of the weather34 template
Other
18 stars 10 forks source link

fixed easyweathersetup save on error message #36

Closed weather34 closed 5 years ago

weather34 commented 5 years ago

this line is causing error on save .

$nanourl = "'.$_POST["nanourl"].'";

what is this used for ?? be-careful not all users use NANO(SD) ..

have removed it....brian

lightmaster commented 5 years ago

It's an optional variable for future use with downloading nano/pro charts. Doesn't have any use at all yet, just added it now since had to add daughter setting and to keep it from erasing my setting. Not sure why it would cause an error though cuz it's not called yet...

weather34 commented 5 years ago

ok it requires to parts but think you worked it out but yes it caused a php flag error on line 96 .

have a good day

lightmaster commented 5 years ago

Seems it's not too happy with it since it's not set on the settings page. I'll deal with it later though when it's implemented and just set the variable within my downloader script in the mean time.