diff --git a/e107_handlers/xml_class.php b/e107_handlers/xml_class.php index 6857834f9..1f8929a44 100644 --- a/e107_handlers/xml_class.php +++ b/e107_handlers/xml_class.php @@ -768,6 +768,7 @@ class xmlClass if (strpos($fname, '://') !== false) { $this->getRemoteFile($fname); + $this->_feedUrl = false; // clear it to avoid conflicts. } else { @@ -778,6 +779,8 @@ class xmlClass } if ($this->xmlFileContents) { + + if ($replace_constants == true) { $this->xmlFileContents = $tp->replaceConstants($this->xmlFileContents, '', true);