diff --git a/process/Product_lib/process.js b/process/Product_lib/process.js index 1f0aa5e226d9babe01ddac32bfb5a716512e53af..52762bab20ef5d2d574e85f166617b88183af42a 100644 --- a/process/Product_lib/process.js +++ b/process/Product_lib/process.js @@ -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 "";