af_redditimgur: fix an oopsie

This commit is contained in:
Andrew Dolgov 2021-02-23 00:27:52 +03:00
parent 6e4fbbfa4d
commit cae54dad56
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class Af_RedditImgur extends Plugin {
$found = false;
// embed before reddit <table> post layout
$anchor = $xpath->query('//_body/*')->item(0);
$anchor = $xpath->query('//body/*')->item(0);
// deal with json-provided media content first
if ($article["link"] && $anchor) {