summaryrefslogtreecommitdiff
path: root/plugins/af_comics/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-02-12 13:32:44 +0400
committerAndrew Dolgov <[email protected]>2014-02-12 13:32:44 +0400
commitabe24e397783ccff66f83536cb4ea46c7bb68f5f (patch)
treed443b6ba3df71fdd17711528a97ad0152753983e /plugins/af_comics/init.php
parentf826070c560661c7d2eff0bb16b7782cc524937d (diff)
af_comics: fix for PA new layout
Diffstat (limited to 'plugins/af_comics/init.php')
-rw-r--r--plugins/af_comics/init.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/af_comics/init.php b/plugins/af_comics/init.php
index 5d3ccf072..993ddb7cd 100644
--- a/plugins/af_comics/init.php
+++ b/plugins/af_comics/init.php
@@ -210,11 +210,7 @@ class Af_Comics extends Plugin {
if ($doc) {
$xpath = new DOMXPath($doc);
- $entries = $xpath->query('(//div[@class="post comic"])');
-
- foreach ($entries as $entry) {
- $basenode = $entry;
- }
+ $basenode = $xpath->query('(//div[@id="comicFrame"])')->item(0);
if ($basenode) {
$article["content"] = $doc->saveXML($basenode);