Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.2
-
Fix Version/s: 1.8.0
-
Component/s: Zend_Service_Amazon
-
Labels:None
-
Fix Version Priority:Should Have
Description
The variable gets overwritten when there's more than one disc.
Row 154-158 in Zend_Service_Amazon_Item:
foreach ($result as $disk) {
foreach ($xpath->query('./*/text()', $disk) as $t) {
$this->Tracks[$disk->getAttribute('number')] = (string) $t->data;
}
}
Ok, this was my first issue, sorry for the [code]. I hope you understand anyway.
Instead of:
$this->Tracks[$disk->getAttribute('number')] = (string) $t->data;
It should be:
$this->Tracks[$disk->getAttribute('number')][] = (string) $t->data;