[Notice] Undefined index: content

GET /parents/calendar/ics/ICS_1/20200101T080000-20200101T151500?title=School+closed

Line 896 in /home/bankslane/public_html/event_calendar/code/Calendar.php

Source

887 			$START_TIMESTAMP = $parts[0];
888 			$END_TIMESTAMP = $parts[1];
889 			if(!$feed) {
890 				$URL = $announcement ? $event->Calendar()->AbsoluteLink() : $event->AbsoluteLink();
891 			}
892 			else {
893 				$URL = "";
894 			}
895 			$TITLE = $feed ? $_REQUEST['title'] : $event->Title;
896 			$CONTENT = $feed ? $_REQUEST['content'] : $event->obj('Content')->Summary();
897 			$LOCATION = $feed ? $_REQUEST['location'] : $event->Location;
898 			$this->getResponse()->addHeader('Cache-Control','private');
899 			$this->getResponse()->addHeader('Content-Description','File Transfer');
900 			$this->getResponse()->addHeader('Content-Type','text/calendar');
901 			$this->getResponse()->addHeader('Content-Transfer-Encoding','binary');
902 			if(stristr($_SERVER['HTTP_USER_AGENT'], "MSIE")) {

Trace

GET /parents/calendar/ics/ICS_1/20200101T080000-20200101T151500?title=School+closed

[Notice] Undefined index: location

GET /parents/calendar/ics/ICS_1/20200101T080000-20200101T151500?title=School+closed

Line 897 in /home/bankslane/public_html/event_calendar/code/Calendar.php

Source

888 			$END_TIMESTAMP = $parts[1];
889 			if(!$feed) {
890 				$URL = $announcement ? $event->Calendar()->AbsoluteLink() : $event->AbsoluteLink();
891 			}
892 			else {
893 				$URL = "";
894 			}
895 			$TITLE = $feed ? $_REQUEST['title'] : $event->Title;
896 			$CONTENT = $feed ? $_REQUEST['content'] : $event->obj('Content')->Summary();
897 			$LOCATION = $feed ? $_REQUEST['location'] : $event->Location;
898 			$this->getResponse()->addHeader('Cache-Control','private');
899 			$this->getResponse()->addHeader('Content-Description','File Transfer');
900 			$this->getResponse()->addHeader('Content-Type','text/calendar');
901 			$this->getResponse()->addHeader('Content-Transfer-Encoding','binary');
902 			if(stristr($_SERVER['HTTP_USER_AGENT'], "MSIE")) {
903  				$this->getResponse()->addHeader("Content-disposition","filename=".$FILENAME."; attachment;");

Trace

BEGIN:VCALENDAR PRODID:-//bankslane-jun.stockport.sch.uk//EN VERSION:2.0 METHOD:PUBLISH BEGIN:VEVENT DTSTART;TZID=Europe/London:20200101T080000 DTEND;TZID=Europe/London:20200101T151500 URL: SUMMARY:School closed LOCATION: DESCRIPTION: END:VEVENT END:VCALENDAR