// clean code
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14542 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
296a6431f7
commit
77f96a37d6
1 file changed
+6
-6
@@ -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