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

Fix for Subscription Issues #450

Merged
merged 2 commits into from Oct 16, 2018
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+2 −1
Diff settings

Always

Just for now

Prev

I'm fucking dumb

  • Loading branch information...
TheMightyBuzzard committed Aug 29, 2018
commit 0303b279327d63ee07a2cc80a7ac9461ad4668b7
@@ -516,9 +516,10 @@ sub confirm {
# Previously we were allowing infinite or zero decimal places.
$amount = sprintf("%.2f", $amount);

# puid = paying user, uid = user getting the sub
my $puid = $user->{uid};
my $uid = $form->{uid} || $user->{uid};
if($type == "user")
if($type eq "user")
{
$uid = $puid;
}
ProTip! Use n and p to navigate between commits in a pull request.