From 26b8f29682d4b1bc5f2ba0dde79ca416329a72df Mon Sep 17 00:00:00 2001 From: Christophe Battarel Date: Thu, 22 Aug 2013 10:45:42 +0200 Subject: [PATCH] fix display of buying price on line edit when no supplier price is defined --- htdocs/fourn/ajax/getSupplierPrices.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/fourn/ajax/getSupplierPrices.php b/htdocs/fourn/ajax/getSupplierPrices.php index 029f135a653..b19ddb2996f 100644 --- a/htdocs/fourn/ajax/getSupplierPrices.php +++ b/htdocs/fourn/ajax/getSupplierPrices.php @@ -114,8 +114,8 @@ if (! empty($idprod)) $db->free($result); } } - - echo json_encode($prices); } +echo json_encode($prices); + ?>