// Fixed missing parameters when calling Currency::exists

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13450 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2012-02-20 09:22:15 +00:00
parent 2c7720ab08
commit 2145cd543b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ class CurrencyCore extends ObjectModel
*/
public function add($autodate = true, $nullValues = false)
{
return Currency::exists($this->iso_code) ? false : parent::add();
return Currency::exists($this->iso_code, $this->iso_code_num) ? false : parent::add();
}
/**