Fix array assignment
This commit is contained in:
parent
fdbadea14a
commit
f3c1de16f5
1 changed files with 3 additions and 2 deletions
|
@ -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'));
|
||||
|
|
Loading…
Reference in a new issue