diff --git a/index.php b/index.php
index 4286673..1d52e81 100644
--- a/index.php
+++ b/index.php
@@ -34,7 +34,6 @@ if($_SERVER['REQUEST_METHOD'] === 'POST'){
@@ -76,7 +75,7 @@ echo $daten->makeTable($wetter, 'rad', NULL, NULL, 'Fahrradwetter');
-
+ Seite danach bitte neu laden.
diff --git a/unsplash.jpg b/unsplash.jpg
index 08d5f14..aa1824a 100644
Binary files a/unsplash.jpg and b/unsplash.jpg differ
diff --git a/wetter.php b/wetter.php
index 6ee3752..ec759d0 100644
--- a/wetter.php
+++ b/wetter.php
@@ -124,8 +124,8 @@ class wetter {
}
// max. Temperatur
- if(isset($_COOKIE['tempmax'])){
- $tempMaxWert = $this->filter_cookie_int('tempmax');
+ if(isset($_COOKIE['temphigh'])){
+ $tempMaxWert = $this->filter_cookie_int('temphigh');
}else{
$tempMaxWert = 27;
}
@@ -143,8 +143,10 @@ class wetter {
// Vielleicht, wenn Regenwahrscheinlichkeit größer als 40% oder
// Temperaturen nicht zwischen 15 und 24°C
// oder Wind 35 km/h oder schneller
- if(empty($_COOKIE['wind']) && $regen >= 40 || $temp <= 15 || $temp > 24
- || $wind >= $windWert){
+ if(empty($_COOKIE['wind']) && $regen >= 40 ||
+ empty($_COOKIE['wind']) && $temp <= 15 ||
+ empty($_COOKIE['wind']) && $temp > 24 ||
+ $wind >= $windWert){
$fahrrad = '
Vielleicht';
}