Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
(I could easily be mistaken)
In amazon.module,
line 537: if (empty($item['isbn'])) {
should be: if (!empty($xml->ItemAttributes->ISBN])) {
and
line 540: if (empty($item['ean'])) {
should be: if (!empty($xml->ItemAttributes->EAN])) {
Otherwise the conditions will always evaluate to true.
Comment | File | Size | Author |
---|---|---|---|
#1 | amazon.broken_conditions_1014128_01.patch | 652 bytes | rfay |
Comments
Comment #1
rfayYep, thanks for the report. No-brainer... but it means this code has never been used.
Comment #2
rfayCommitted:
D7: https://drupal.org/cvs?commit=491378
D6: https://drupal.org/cvs?commit=491382