diff --git a/lib/oebbApi.php b/lib/oebbApi.php index 82c5198..d4e79a2 100644 --- a/lib/oebbApi.php +++ b/lib/oebbApi.php @@ -465,8 +465,9 @@ class oebbApi { } protected function getProducts($pos) { - $products = ""; - $i = 0; +# $products = ""; + $products = array(); + $i = 0; while(1) { $src = (pq('#trOverviewC0-' . $pos . ' .product:eq(' . $i . ')')->attr('src'));