Explorar o código

Real Headphones fix

causefx %!s(int64=8) %!d(string=hai) anos
pai
achega
520d24f7ad
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions.php

+ 1 - 1
functions.php

@@ -2906,7 +2906,7 @@ function getHeadphonesCalendar($url, $key, $list){
     $gotCalendar = "";
 	if (is_array($api) || is_object($api)){
 		foreach($api AS $child) {
-			if($child['Status'] == "Wanted" && $list == "getWanted" && $child['AlbumTitle']){
+			if($child['Status'] == "Wanted" && $list == "getWanted" && $child['ReleaseDate']){
 				$i++;
 				$albumName = addslashes($child['AlbumTitle']);
 				$albumArtist = htmlentities($child['ArtistName'], ENT_QUOTES);