Wrong variable...
This commit is contained in:
parent
6372e30cac
commit
6a614830a6
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ sub reason :Tab(whatevah) {
|
|||
|
||||
my $user = $self->{user};
|
||||
my $amount = $self->{amount};
|
||||
if ($user = parse_user($input)) {
|
||||
if ($input = parse_user($input)) {
|
||||
$cart->add(undef, -$amount, "Given to $user");
|
||||
$cart->add($user, +$amount, "Received from \$you");
|
||||
$cart->checkout($input);
|
||||
|
|
Loading…
Add table
Reference in a new issue