// Context part 12
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7649 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -366,7 +366,7 @@ class CurrencyCore extends ObjectModel
|
||||
static public function getCurrencyInstance($id)
|
||||
{
|
||||
if (!array_key_exists($id, self::$currencies))
|
||||
self::$currencies[(int)($id)] = new Currency((int)($id));
|
||||
self::$currencies[(int)($id)] = new Currency($id);
|
||||
return self::$currencies[(int)($id)];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user