From af7c0b697d284047f2ec857ccc48e206b17761c5 Mon Sep 17 00:00:00 2001 From: kados Date: Sat, 4 Mar 2006 03:24:51 +0000 Subject: [PATCH] IMPORTANT: I had Associates tag and Dev Key confused ... now they are named properly ... if you had it working before, now you must swap them ... sorry :-) --- C4/Amazon.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Amazon.pm b/C4/Amazon.pm index 8484c19fcc..d8e1dd16c4 100755 --- a/C4/Amazon.pm +++ b/C4/Amazon.pm @@ -59,7 +59,7 @@ sub get_amazon_details { my $af_tag=C4::Context->preference('AmazonAssocTag'); my $asin=$isbn; - my $url = "http://xml.amazon.com/onca/xml3?t=$dev_key&dev-t=$af_tag&type=heavy&f=xml&AsinSearch=" . $asin; + my $url = "http://xml.amazon.com/onca/xml3?t=$af_tag&dev-t=$dev_key&type=heavy&f=xml&AsinSearch=" . $asin; my $content = get($url); warn "could not retrieve $url" unless $content; my $xmlsimple = XML::Simple->new(); -- 2.39.5