Skip to content

Commit

Permalink
Merge pull request #9 from Jaaaan/master
Browse files Browse the repository at this point in the history
Compatibility PHP 7.2
  • Loading branch information
iCodr8 authored Nov 22, 2018
2 parents a6e5e91 + 8245fc7 commit ed2ac10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/contao/classes/CalendarImport.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ protected function importFromCSVFile($prepare = true)
$this->Template->hrefBack = ampersand(str_replace('&key=import', '', \Environment::get('request')));
$this->Template->goBack = $GLOBALS['TL_LANG']['MSC']['goBack'];
$this->Template->headline = $GLOBALS['TL_LANG']['MSC']['import_calendar'][0];
$this->Template->request = ampersand(\Environment::get('request'), ENCODE_AMPERSANDS);
$this->Template->request = ampersand(\Environment::get('request'), 'ENCODE_AMPERSANDS');
$this->Template->submit = specialchars($GLOBALS['TL_LANG']['tl_calendar_events']['proceed'][0]);
$this->Template->fields = $fields;

Expand Down Expand Up @@ -997,7 +997,7 @@ public function importCalendar(DataContainer $dc)
$this->Template->hrefBack = ampersand(str_replace('&key=import', '', \Environment::get('request')));
$this->Template->goBack = $GLOBALS['TL_LANG']['MSC']['goBack'];
$this->Template->headline = $GLOBALS['TL_LANG']['MSC']['import_calendar'][0];
$this->Template->request = ampersand(\Environment::get('request'), ENCODE_AMPERSANDS);
$this->Template->request = ampersand(\Environment::get('request'), 'ENCODE_AMPERSANDS');
$this->Template->submit = specialchars($GLOBALS['TL_LANG']['tl_calendar_events']['import'][0]);

// Create import form
Expand Down

0 comments on commit ed2ac10

Please sign in to comment.