Skip to content

Commit

Permalink
rrrrrrr
Browse files Browse the repository at this point in the history
  • Loading branch information
potsky committed Dec 17, 2014
1 parent 24b18ef commit 8164748
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions raw.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
$text_wi_rain = "In external module '_device_name_:_name_', on _human_date_ at _human_hour_, temperature is _temp_°C, humidity is _humi_% and _rain_mm of rain fell in 24h";
$text_wo_rainsensor = "No rain sensor";

if ( isset( $_GET['text_wo_rain'] ) ) $text_wo_rain = $_GET['text_wo_rain'];
if ( isset( $_GET['text_wi_rain'] ) ) $text_wi_rain = $_GET['text_wi_rain'];
if ( isset( $_GET['text_wo_rainsensor'] ) ) $text_wi_rain = $_GET['text_wo_rainsensor'];
if ( isset( $_GET['text_wo_rain'] ) ) $text_wo_rain = $_GET['text_wo_rain'];
if ( isset( $_GET['text_wi_rain'] ) ) $text_wi_rain = $_GET['text_wi_rain'];
if ( isset( $_GET['text_wo_rainsensor'] ) ) $text_wo_rainsensor = $_GET['text_wo_rainsensor'];

$display = ( isset( $_GET['a'] ) ) ? (int)$_GET['a'] : 0;
$without_rain_sensor_seconds = ( isset( $_GET['r'] ) ) ? (int)$_GET['r'] : 60*60*24;
Expand Down

0 comments on commit 8164748

Please sign in to comment.