Skip to content
Snippets Groups Projects
Commit ed3fba9a authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

fix EK, VK Preis

parent 411ba9a5
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ ProductUtils.getCurrentProductPrice = function(pid, buySell) {
var productPriceData = db.array(db.ROW, actualPriceCondition.buildSelect("select PRICE, CURRENCY from PRODUCTPRICE", "1 = 2", "order by VALID_FROM desc"));
if (productPriceData[0] != "")
if (productPriceData[0] && productPriceData[1])
return productPriceData[0] + " " + KeywordUtils.get("CURRENCY", productPriceData[1])[1];
else
return "";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment