// Fix PHP notice

This commit is contained in:
rGaillard committed 2012-10-22 18:21:40 +00:00
1 parent 36ff119a14
commit b62c8a3aed
1 file changed
+1 -3
+1 -3
View File
@@ -364,9 +364,7 @@ class CurrencyCore extends ObjectModel
} }
} }
if (!isset($rate)) if (isset($rate))
$rate = 1;
$this->conversion_rate = round($rate / $conversion_rate, 6); $this->conversion_rate = round($rate / $conversion_rate, 6);
} }
$this->update(); $this->update();