[-] Core: Fix cache issue and order slip pdf generation

This commit is contained in:
rGaillard
2012-10-22 12:40:15 +00:00
parent eeb82533d8
commit fc19914c85
13 changed files with 96 additions and 37 deletions
+1 -1
View File
@@ -410,7 +410,7 @@ class CurrencyCore extends ObjectModel
public static function getCurrencyInstance($id)
{
if (!array_key_exists($id, self::$currencies))
if (!isset(self::$currencies[$id]))
self::$currencies[(int)($id)] = new Currency($id);
return self::$currencies[(int)($id)];
}