Изменить 'src/Parser.php'
This commit is contained in:
parent
3713060e50
commit
84aecd3bf2
|
@ -334,7 +334,7 @@ class Parser
|
||||||
$guid = $item->get_item_tags('', 'guid');
|
$guid = $item->get_item_tags('', 'guid');
|
||||||
if ($guid && count($guid)) {
|
if ($guid && count($guid)) {
|
||||||
$episode->setGuid($this->sanitize($guid[0]['data']));
|
$episode->setGuid($this->sanitize($guid[0]['data']));
|
||||||
if(count($guid[0]['attribs'][''])&&array_key_exists('isPermaLink',$guid[0]['attribs'][''])) {
|
if(isset($guid[0]['attribs'][''])&&count($guid[0]['attribs'][''])&&array_key_exists('isPermaLink',$guid[0]['attribs'][''])) {
|
||||||
$episode->setGuidIsPermalink($guid[0]['attribs']['']['isPermaLink']==='true');
|
$episode->setGuidIsPermalink($guid[0]['attribs']['']['isPermaLink']==='true');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user