Fixed long standing bug in Subscription exposed by "use strict".
Current object was not updated via $subscription->set, but the database was.
This commit is contained in:
parent
8bc26ddda2
commit
f594ec7737
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ sub set {
|
|||
|
||||
foreach (keys(%{$properties})) {
|
||||
if (isIn($_, qw(name price useSalesTax description subscriptionGroup duration executeOnSubscription karma))) {
|
||||
$self->{_properties}{$_} = $value;
|
||||
$self->{_properties}{$_} = $properties->{$_};
|
||||
push(@fieldsToUpdate, $_);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue