Skip to content

Commit f5c17bc

Browse files
committed
Fixed Pollin provider exception, if product top features panel does not exist
1 parent 63e222e commit f5c17bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/InfoProviderSystem/Providers/PollinProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ private function parseCategory(Crawler $dom): string
215215
private function parseNotes(Crawler $dom): string
216216
{
217217
//Concat product highlights and product description
218-
return $dom->filter('div.product-detail-top-features')->html() . '<br><br>' . $dom->filter('div.product-detail-description-text')->html();
218+
return $dom->filter('div.product-detail-top-features')->html('') . '<br><br>' . $dom->filter('div.product-detail-description-text')->html('');
219219
}
220220

221221
private function parsePrices(Crawler $dom): array

0 commit comments

Comments
 (0)