We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebe52c5 commit e83e810Copy full SHA for e83e810
src/FeedIo/Rule/PublicId.php
@@ -18,7 +18,7 @@ class PublicId extends RuleAbstract
18
public function setProperty(NodeInterface $node, \DOMElement $element): void
19
{
20
$node->setPublicId($element->nodeValue);
21
- if ($element->nodeName == 'guid'
+ if ($element->nodeName === 'guid'
22
&& $element->getAttribute('isPermaLink') === 'true'
23
&& is_null($node->getLink())) {
24
$node->setLink($element->nodeValue);
0 commit comments