fix style
This commit is contained in:
parent
b29bb23b40
commit
cf0d370e61
@ -32,7 +32,7 @@ class PlurkResolver implements Resolver
|
|||||||
$xpath = new \DOMXPath($dom);
|
$xpath = new \DOMXPath($dom);
|
||||||
$imageNode = $xpath->query('//div[@class="text_holder"]/a[1]')->item(0);
|
$imageNode = $xpath->query('//div[@class="text_holder"]/a[1]')->item(0);
|
||||||
|
|
||||||
if($imageNode) {
|
if ($imageNode) {
|
||||||
$metadata->image = $imageNode->getAttribute('href');
|
$metadata->image = $imageNode->getAttribute('href');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user