From 720746b1b2c623ccd08ee9f20043f815fde667af Mon Sep 17 00:00:00 2001 From: Florian Henry Date: Sun, 23 Feb 2014 16:29:16 +0100 Subject: [PATCH] Fix php sniffer --- htdocs/comm/propal.php | 4 ++-- htdocs/commande/fiche.php | 4 ++-- htdocs/compta/facture.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 7a4ec48f04b..0ed379610fa 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -729,14 +729,14 @@ else if (($action == 'addline' || $action == 'addline_predef') && $user->rights- elseif (! empty ( $conf->global->PRODUIT_CUSTOMER_PRICES )) { require_once DOL_DOCUMENT_ROOT . '/product/class/productcustomerprice.class.php'; - $prodcustprice = new Productcustomerprice ( $db ); + $prodcustprice = new Productcustomerprice( $db ); $filter = array ( 't.fk_product' => $prod->id, 't.fk_soc'=> $object->client->id ); - $result = $prodcustprice->fetch_all ( '', '', 0,0, $filter ); + $result = $prodcustprice->fetch_all( '', '', 0,0, $filter ); if ($result) { if (count($prodcustprice->lines)>0) diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 05bc800468e..6e2c337984f 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -671,14 +671,14 @@ else if ($action == 'addline' && $user->rights->commande->creer) elseif (! empty ( $conf->global->PRODUIT_CUSTOMER_PRICES )) { require_once DOL_DOCUMENT_ROOT . '/product/class/productcustomerprice.class.php'; - $prodcustprice = new Productcustomerprice ( $db ); + $prodcustprice = new Productcustomerprice( $db ); $filter = array ( 't.fk_product' => $prod->id, 't.fk_soc'=> $object->client->id ); - $result = $prodcustprice->fetch_all ( '', '', 0,0, $filter ); + $result = $prodcustprice->fetch_all( '', '', 0,0, $filter ); if ($result) { if (count($prodcustprice->lines)>0) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index cf42be68c0c..0b18cb6f7cf 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1238,14 +1238,14 @@ else if (($action == 'addline' || $action == 'addline_predef') && $user->rights- elseif (! empty ( $conf->global->PRODUIT_CUSTOMER_PRICES )) { require_once DOL_DOCUMENT_ROOT . '/product/class/productcustomerprice.class.php'; - $prodcustprice = new Productcustomerprice ( $db ); + $prodcustprice = new Productcustomerprice( $db ); $filter = array ( 't.fk_product' => $prod->id, 't.fk_soc'=> $object->client->id ); - $result = $prodcustprice->fetch_all ( '', '', 0,0, $filter ); + $result = $prodcustprice->fetch_all( '', '', 0,0, $filter ); if ($result) { if (count($prodcustprice->lines)>0)