소스 검색

Real Headphones fix

causefx 8 년 전
부모
커밋
520d24f7ad
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);