소스 검색

add ical to calendar check

causefx 7 년 전
부모
커밋
e409a8d6d0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api/functions/homepage-functions.php

+ 1 - 1
api/functions/homepage-functions.php

@@ -183,7 +183,7 @@ function buildHomepageItem($homepageItem)
 			}
 			}
 			break;
 			break;
 		case 'homepageOrdercalendar':
 		case 'homepageOrdercalendar':
-			if ($GLOBALS['homepageSonarrEnabled'] && qualifyRequest($GLOBALS['homepageSonarrAuth']) || ($GLOBALS['homepageRadarrEnabled'] && qualifyRequest($GLOBALS['homepageRadarrAuth'])) || ($GLOBALS['homepageSickrageEnabled'] && qualifyRequest($GLOBALS['homepageSickrageAuth'])) || ($GLOBALS['homepageCouchpotatoEnabled'] && qualifyRequest($GLOBALS['homepageCouchpotatoAuth']))) {
+			if ($GLOBALS['homepageSonarrEnabled'] && qualifyRequest($GLOBALS['homepageSonarrAuth']) || ($GLOBALS['homepageRadarrEnabled'] && qualifyRequest($GLOBALS['homepageRadarrAuth'])) || ($GLOBALS['homepageSickrageEnabled'] && qualifyRequest($GLOBALS['homepageSickrageAuth'])) || ($GLOBALS['homepageCouchpotatoEnabled'] && qualifyRequest($GLOBALS['homepageCouchpotatoAuth'])) || ($GLOBALS['homepageCalendarEnabled'] && qualifyRequest($GLOBALS['homepageCalendarAuth']) && $GLOBALS['calendariCal'] !== '')) {
 				$item .= '
 				$item .= '
 				<div id="calendar" class="fc fc-ltr m-b-30"></div>
 				<div id="calendar" class="fc fc-ltr m-b-30"></div>
 				<script>
 				<script>