Skip to content

Commit

Permalink
Syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry committed Jun 29, 2014
1 parent 1857280 commit e8bb5d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/commande/fiche.php
Expand Up @@ -590,7 +590,7 @@

$prodcustprice = new Productcustomerprice($db);

$filter = array('t.fk_product' => $prod->id,'t.fk_soc' => $object->client->id);
$filter = array('t.fk_product' => $prod->id,'t.fk_soc' => $object->thirdparty->id);

$result = $prodcustprice->fetch_all('', '', 0, 0, $filter);
if ($result >= 0) {
Expand Down
2 changes: 1 addition & 1 deletion htdocs/compta/facture.php
Expand Up @@ -1156,7 +1156,7 @@

$prodcustprice = new Productcustomerprice($db);

$filter = array('t.fk_product' => $prod->id,'t.fk_soc' => $object->client->id);
$filter = array('t.fk_product' => $prod->id,'t.fk_soc' => $object->thirdparty->id);

$result = $prodcustprice->fetch_all('', '', 0, 0, $filter);
if ($result >= 0) {
Expand Down

0 comments on commit e8bb5d5

Please sign in to comment.