diff options
author | lolcat <will@lolcat.ca> | 2024-06-29 18:03:10 -0400 |
---|---|---|
committer | lolcat <will@lolcat.ca> | 2024-06-29 18:03:10 -0400 |
commit | 6df9d17ada64663c8bfb80baafc42dc951951218 (patch) | |
tree | c1c9f67fe2be542eaf7e75c3ca77d5c3c7e3ae9a | |
parent | 8161f8e7b8b236892a2254b8876fe4363b33050b (diff) |
fixed soundcloud crash
-rw-r--r-- | scraper/sc.php | 5 |
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( |