summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-16 09:53:55 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-16 09:53:55 +0000
commit8a847a4efd25e5b419886e55d55bc4fd9b9e55c9 (patch)
treea48b40f5a1f4f0673c7b87c9cabfc5ec0cc3b05b /modules
parent961bf509d45dee506d3914c0f7c839311ec3b7c6 (diff)
downloadampache-8a847a4efd25e5b419886e55d55bc4fd9b9e55c9.tar.gz
ampache-8a847a4efd25e5b419886e55d55bc4fd9b9e55c9.tar.bz2
ampache-8a847a4efd25e5b419886e55d55bc4fd9b9e55c9.zip
some of the more unattractive code Ive commited in a while...
Diffstat (limited to 'modules')
-rw-r--r--modules/amazon/AmazonSearchEngine.class.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/amazon/AmazonSearchEngine.class.php b/modules/amazon/AmazonSearchEngine.class.php
index 6a6f7b73..691d8b85 100644
--- a/modules/amazon/AmazonSearchEngine.class.php
+++ b/modules/amazon/AmazonSearchEngine.class.php
@@ -91,7 +91,7 @@ class AmazonSearch {
xml_parser_free($this->_parser);
- } // search
+ } // run_search
/*!
@function search
@@ -107,6 +107,8 @@ class AmazonSearch {
unset($this->results['ASIN']);
+ return $this->results;
+
} // search
/*!
@@ -132,6 +134,8 @@ class AmazonSearch {
unset($this->results['ASIN']);
+ return $this->results;
+
} // lookup
function start_element($parser, $tag, $attributes) {