[-] BO : #PSFV-411 : BugFix - Check module id in checkPaymentCurrencies()
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13702 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -241,6 +241,9 @@ class CurrencyCore extends ObjectModel
|
|||||||
|
|
||||||
public static function checkPaymentCurrencies($id_module, $id_shop = null)
|
public static function checkPaymentCurrencies($id_module, $id_shop = null)
|
||||||
{
|
{
|
||||||
|
if (empty($id_module))
|
||||||
|
return false;
|
||||||
|
|
||||||
if (is_null($id_shop))
|
if (is_null($id_shop))
|
||||||
$id_shop = Context::getContext()->shop->id;
|
$id_shop = Context::getContext()->shop->id;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user