4
0
causefx 8 жил өмнө
parent
commit
520d24f7ad
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      functions.php

+ 1 - 1
functions.php

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