Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.20.1 #470

Merged
merged 3 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion endpoints/admin/adduser.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function validate($value)
$loggedInUserId = $userId;

$email = validate($data['email']);
$username = validate(strtolower($data['username']));
$username = validate($data['username']);
$password = $data['password'];

if (empty($username) || empty($password) || empty($email)) {
Expand Down
1 change: 1 addition & 0 deletions endpoints/subscription/exportcalendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
$subscription['payment_method'] = $payment_methods[$subscription['payment_method_id']]['name'];
$subscription['currency'] = $currencies[$subscription['currency_id']]['symbol'];
$subscription['trigger'] = $subscription['notify_days_before'] ? $subscription['notify_days_before'] : 1;
$subscription['price'] = number_format($subscription['price'], 2);

// Create ICS from subscription information
$uid = uniqid();
Expand Down
1 change: 1 addition & 0 deletions endpoints/subscription/getcalendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
$subscription['category'] = $categories[$subscription['category_id']]['name'];
$subscription['payment_method'] = $payment_methods[$subscription['payment_method_id']]['name'];
$subscription['currency'] = $currencies[$subscription['currency_id']]['symbol'];
$subscription['price'] = number_format($subscription['price'], 2);

echo json_encode([
'success' => true,
Expand Down
2 changes: 1 addition & 1 deletion includes/version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
$version = "v2.20.0";
$version = "v2.20.1";
?>