// clean code
This commit is contained in:
@@ -263,12 +263,12 @@ class CurrencyCore extends ObjectModel
|
|||||||
AND `id_currency` = '.(int)($id_currency));
|
AND `id_currency` = '.(int)($id_currency));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @static
|
* @static
|
||||||
* @param $iso_code
|
* @param $iso_code
|
||||||
* @param int $id_shop
|
* @param int $id_shop
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
public static function getIdByIsoCode($iso_code, $id_shop = 0)
|
public static function getIdByIsoCode($iso_code, $id_shop = 0)
|
||||||
{
|
{
|
||||||
$query = Currency::getIdByQuery($id_shop);
|
$query = Currency::getIdByQuery($id_shop);
|
||||||
|
|||||||
Reference in New Issue
Block a user