From 1bf7d8ef0edac533ce65d68669d26aec2f282f95 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 13 Feb 2016 00:43:09 +0000
Subject: [PATCH] Wydanie wersji 2.7

---
 modules/30_pogoda/api_yrno.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/30_pogoda/api_yrno.php b/modules/30_pogoda/api_yrno.php
index dbd6e05..5060059 100644
--- a/modules/30_pogoda/api_yrno.php
+++ b/modules/30_pogoda/api_yrno.php
@@ -203,7 +203,7 @@
 }
 
 function yrno_weather($lat, $lon) {
-	$down = new DownloadHelper('http://api.yr.no/weatherapi/locationforecastlts/1.1/?lat='.urlencode($lat).';lon='.urlencode($lon));
+	$down = new DownloadHelper('http://api.yr.no/weatherapi/locationforecastlts/1.2/?lat='.urlencode($lat).';lon='.urlencode($lon));
 	$down->setopt(CURLOPT_USERAGENT, 'BotGG/'.main::VERSION_NUM.' WeatherModule/1.0 (http://bot.jacekk.net/weather.html)');
 	try {
 		$data = $down->exec();

--
Gitblit v1.9.1