[-] BO : #PSFV-411 : BugFix - Check module id in checkPaymentCurrencies()
This commit is contained in:
1 parent
b1f30021e0
commit
88d598f5a3
1 file changed
+3
@@ -241,6 +241,9 @@ class CurrencyCore extends ObjectModel
|
||||
|
||||
public static function checkPaymentCurrencies($id_module, $id_shop = null)
|
||||
{
|
||||
if (empty($id_module))
|
||||
return false;
|
||||
|
||||
if (is_null($id_shop))
|
||||
$id_shop = Context::getContext()->shop->id;
|
||||
|
||||
|
||||
Reference in new issue
Block a user