Skip to content

Commit

Permalink
Added Patches to make this working with php 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
xbeaudouin committed Nov 2, 2022
1 parent 697ac3c commit ea7c8f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Weathermap.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -960,8 +960,8 @@ function ReadData()
if ($multiply != 1) {
wm_debug("Pre-multiply: $in $out\n");

$in = $multiply * $in;
$out = $multiply * $out;
$in = (int)$multiply * $in;
$out = (int)$multiply * $out;

wm_debug("Post-multiply: $in $out\n");
}
Expand Down

0 comments on commit ea7c8f1

Please sign in to comment.