From 32dd1e448083b1307000c43f6152bef4eb11d6a9 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 938b3af2279..3953bce6caf 100644 --- a/htdocs/fourn/ajax/getSupplierPrices.php +++ b/htdocs/fourn/ajax/getSupplierPrices.php @@ -115,8 +115,8 @@ if (! empty($idprod)) $db->free($result); } } - - echo json_encode($prices); } +echo json_encode($prices); + ?>