}
// get language
- $this->sourceLanguage = LanguageFactory::getInstance()->getLanguage($this->sourceLanguageID);;
+ $this->sourceLanguage = LanguageFactory::getInstance()->getLanguage($this->sourceLanguageID);
if (!$this->sourceLanguage->languageID) {
throw new UserInputException('sourceLanguageID');
}
// send headers
header('Content-Type: text/xml; charset=UTF-8');
header('Content-Disposition: attachment; filename="'.$this->language->languageCode.'.xml"');
- $this->language->export($this->selectedPackages, $this->exportCustomValues);
- exit;
+ $this->language->export($this->selectedPackages, $this->exportCustomValues);
+ exit;
}
/**