Respect isPermalLink=false on RSS guid
This commit is contained in:
parent
0ba53edd96
commit
03c68d283d
@ -298,7 +298,7 @@ class ActivityObject
|
|||||||
if (!empty($guidEl)) {
|
if (!empty($guidEl)) {
|
||||||
$this->id = $guidEl->textContent;
|
$this->id = $guidEl->textContent;
|
||||||
|
|
||||||
if ($guidEl->hasAttribute('isPermaLink')) {
|
if ($guidEl->hasAttribute('isPermaLink') && $guidEl->getAttribute('isPermaLink') != 'false') {
|
||||||
// overwrites <link>
|
// overwrites <link>
|
||||||
$this->link = $this->id;
|
$this->link = $this->id;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user