From 6df9d17ada64663c8bfb80baafc42dc951951218 Mon Sep 17 00:00:00 2001 From: lolcat Date: Sat, 29 Jun 2024 18:03:10 -0400 Subject: fixed soundcloud crash --- scraper/sc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scraper') 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( -- cgit v1.2.3