summaryrefslogtreecommitdiff
path: root/scraper
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-06-29 18:03:10 -0400
committerlolcat <will@lolcat.ca>2024-06-29 18:03:10 -0400
commit6df9d17ada64663c8bfb80baafc42dc951951218 (patch)
treec1c9f67fe2be542eaf7e75c3ca77d5c3c7e3ae9a /scraper
parent8161f8e7b8b236892a2254b8876fe4363b33050b (diff)
fixed soundcloud crash
Diffstat (limited to 'scraper')
-rw-r--r--scraper/sc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/scraper/sc.php b/scraper/sc.php
index 011293a..7083c42 100644
--- a/scraper/sc.php
+++ b/scraper/sc.php
@@ -327,9 +327,12 @@ class sc{
$description[] = $song["title"];
}
- if(count($description) != 0){
+ if(count($description) !== 0){
$description = trim($count . " songs. " . implode(", ", $description));
+ }else{
+
+ $description = "";
}
if(