Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use concatenation instead of double-quoted strings in the XML reader …

…class. Fixes #40
  • Loading branch information...
commit 11eeac26ae8ce90aafc6d11198acd65485583288 1 parent f504e34
@rmccue rmccue authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 simplepie.inc
View
6 simplepie.inc
@@ -14453,7 +14453,7 @@ class SimplePie_Parser
case constant('XMLReader::END_ELEMENT'):
if ($xml->namespaceURI !== '')
{
- $tagName = "{$xml->namespaceURI}{$this->separator}{$xml->localName}";
+ $tagName = $xml->namespaceURI . $this->separator . $xml->localName;
}
else
{
@@ -14465,7 +14465,7 @@ class SimplePie_Parser
$empty = $xml->isEmptyElement;
if ($xml->namespaceURI !== '')
{
- $tagName = "{$xml->namespaceURI}{$this->separator}{$xml->localName}";
+ $tagName = $xml->namespaceURI . $this->separator . $xml->localName;
}
else
{
@@ -14476,7 +14476,7 @@ class SimplePie_Parser
{
if ($xml->namespaceURI !== '')
{
- $attrName = "{$xml->namespaceURI}{$this->separator}{$xml->localName}";
+ $attrName = $xml->namespaceURI . $this->separator . $xml->localName;
}
else
{
Please sign in to comment.
Something went wrong with that request. Please try again.