Fix array assignment

This commit is contained in:
Klaus-Uwe Mitterer 2017-08-31 12:45:39 +02:00
parent fdbadea14a
commit f3c1de16f5

View file

@ -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'));