瀏覽代碼

Merge pull request #539 from causefx/cero-dev

Real Headphones fix
causefx 8 年之前
父節點
當前提交
f6a865a19b
共有 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);