[Notice] Undefined index: content

GET /parents/calendar/ics/ICS_2/20221206T151500-20221206T161500?title=Football+club+Year+5%2F6

Line 900 in /var/www/vhosts/sevenfieldsprimary.org/public_html/event_calendar/code/Calendar.php

Source

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

Trace

GET /parents/calendar/ics/ICS_2/20221206T151500-20221206T161500?title=Football+club+Year+5%2F6

[Notice] Undefined index: location

GET /parents/calendar/ics/ICS_2/20221206T151500-20221206T161500?title=Football+club+Year+5%2F6

Line 901 in /var/www/vhosts/sevenfieldsprimary.org/public_html/event_calendar/code/Calendar.php

Source

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

Trace

BEGIN:VCALENDAR PRODID:-//www.sevenfieldsprimary.org//EN VERSION:2.0 METHOD:PUBLISH BEGIN:VEVENT DTSTART;TZID=Europe/London:20221206T151500 DTEND;TZID=Europe/London:20221206T161500 URL: SUMMARY:Football club Year 5/6 LOCATION: DESCRIPTION: END:VEVENT END:VCALENDAR