Skip to content

Commit

Permalink
trim() vendor and sku/mpn values
Browse files Browse the repository at this point in the history
  • Loading branch information
progcode authored Apr 14, 2022
1 parent cdcc85f commit e3c10ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Icecat/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ public function getArticleByEAN($ean, $lang='HU')
public function getArticleByMPN($vendor, $mpn, $lang='HU')
{
$params = array(
'prod_id' => $mpn,
'vendor' => $vendor,
'lang' => $lang,
'prod_id' => trim($mpn),
'vendor' => trim($vendor),
'lang' => trim($lang),
'output' => 'productxml'
);

Expand Down

0 comments on commit e3c10ca

Please sign in to comment.