[-] Classes : #PSFV-634 : BugFix Currency was not set for loyalty discounts

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14110 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fGaillard
2012-03-13 17:06:42 +00:00
parent 998ef4263e
commit 7a6339d50f
6 changed files with 22 additions and 16 deletions
+1 -1
View File
@@ -229,6 +229,7 @@ class Loyalty extends Module
$errors .= $error.'<br />';
echo $this->displayError($errors);
}
// redirect($this->context->link);
}
}
@@ -246,7 +247,6 @@ class Loyalty extends Module
$this->instanceDefaultStates();
$this->_postProcess();
$categories = Category::getCategories($this->context->language->id);
$order_states = OrderState::getOrderStates($this->context->language->id);
$currency = new Currency((int)(Configuration::get('PS_CURRENCY_DEFAULT')));
$defaultLanguage = (int)(Configuration::get('PS_LANG_DEFAULT'));