From be4377f48c201cb3be23f72c2c1b35f181a3fed6 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 15 Feb 2010 10:20:10 -0800 Subject: [PATCH] fixed Typo in Subscription Sku prevented karma from being transferred to users. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Asset/Sku/Subscription.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 3dc5ab93e..257f2dbbb 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -17,6 +17,7 @@ - fixed #11406: AdSku table mssing karma column - fixed #11410: Too much errors in log after fix #11346 - fixed #11169: MapPoint asset does not have an icon + - fixed Typo in Subscription Sku prevented karma from being transferred to users. 7.8.11 - fixed #11362: Unable to checkout with ITransact plugin diff --git a/lib/WebGUI/Asset/Sku/Subscription.pm b/lib/WebGUI/Asset/Sku/Subscription.pm index 82c52996d..c1a046b3d 100644 --- a/lib/WebGUI/Asset/Sku/Subscription.pm +++ b/lib/WebGUI/Asset/Sku/Subscription.pm @@ -75,7 +75,7 @@ sub apply { } # Add karma to the user's account - if ($session->setting->get('userKarma')) { + if ($session->setting->get('useKarma')) { WebGUI::User->new($session,$userId)->karma($self->get('karma'), 'Subscription', 'Added for purchasing subscription '.$self->get('title')); }