fixed: saving of imported templates was not working

This commit is contained in:
Ralf Becker 2005-05-19 06:56:04 +00:00
parent f18f12fab1
commit e38b703f77

View File

@ -296,9 +296,9 @@
$this->etemplate->init($content['import']);
$preserv['import'] = $content['import'];
}
elseif ($content['save'])
if ($content['save'])
{
$this->etemplate->read($content['old_keys']);
if (!is_array($content['import'])) $this->etemplate->read($content['old_keys']);
if (!$this->etemplate->modified_set || !$this->etemplate->modified)
{