Skip to content
Snippets Groups Projects
Commit abe24e39 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

af_comics: fix for PA new layout

parent f826070c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment