Skip to content

Commit

Permalink
fix: sorting on obhour page
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Nov 21, 2023
1 parent 5220f59 commit 2e4d46a
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 239 deletions.
4 changes: 2 additions & 2 deletions htdocs/rainfall/obhour-json.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
if ($val > 0.005) {
$retval = round($val, 2);
} else if ($val > 0) {
$retval = "T";
$retval = 0.0001;
} else {
$retval = "0";
$retval = 0;
}
$data[$z["station"]]["p$interval"] = $retval;
}
Expand Down
Loading

0 comments on commit 2e4d46a

Please sign in to comment.