Skip to content

Commit

Permalink
fix direct download
Browse files Browse the repository at this point in the history
  • Loading branch information
benderl committed Jan 10, 2025
1 parent e42a171 commit 8df9f01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/settings/downloadChargeLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
echo json_encode(["error" => "Invalid 'year' parameter. A four-digit year, e.g., 2023, is expected."]);
exit;
}
$year = intval($_GET["year"]);

// If the "month" parameter is provided and matches the regex for valid months (1-12), use it
if (isset($_GET["month"])) {
Expand Down

0 comments on commit 8df9f01

Please sign in to comment.