summaryrefslogtreecommitdiffstats
path: root/lib/class/artist.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/artist.class.php')
-rw-r--r--lib/class/artist.class.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/class/artist.class.php b/lib/class/artist.class.php
index e6b5bda9..1009591c 100644
--- a/lib/class/artist.class.php
+++ b/lib/class/artist.class.php
@@ -146,6 +146,12 @@ class Artist extends database_object {
} // get_albums
public function get_like() {
+
+ // Are you compiling with cURL?
+ if (!check_php_curl()) {
+ return false;
+ }
+
$result = array();
$lastfm_api_key = Config::get('lastfm_api_key');