Skip to content

Commit

Permalink
Merge pull request #952 from plentymarkets/fix/build_error_resultfields
Browse files Browse the repository at this point in the history
explicitly cast to string
  • Loading branch information
felixgehrmann authored Feb 9, 2021
2 parents 8918134 + e3e46e7 commit a571673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/ItemSearch/Factories/BaseSearchFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function withResultFields( $fields )
else
{
// load result fields from given resource
$this->resultFields = $this->loadResultFields( $fields );
$this->resultFields = $this->loadResultFields( (string)$fields );
}
return $this;
}
Expand Down

0 comments on commit a571673

Please sign in to comment.