Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Feb 2, 2024
1 parent defd97a commit f858d1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/agclimate/smts.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
$day2 = get_int404('day2', date("d", $now));
$hour2 = get_int404('hour2', date("H", $now));

$opt = isset($_GET["opt"]) ? xssafe($_GET["opt"]) : 1;
$opt = isset($_GET["opt"]) ? xssafe($_GET["opt"]) : "1";

$sts = mktime($hour1, 0, 0, $month1, $day1, $year1);
$ets = mktime($hour2, 0, 0, $month2, $day2, $year2);
Expand Down
2 changes: 1 addition & 1 deletion htdocs/plotting/auto/scripts100/p177.py
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ def plotter(fdict):

if ctx["opt"] == "1":
fig, df = plot1(ctx)
if ctx["opt"] == "m":
elif ctx["opt"] == "m":
fig, df = plot_meteogram(ctx)
elif ctx["opt"] == "2":
fig, df = plot2(ctx)
Expand Down

0 comments on commit f858d1e

Please sign in to comment.