mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 02:45:56 +00:00
af_redditimgur: fix an oopsie
This commit is contained in:
@@ -207,7 +207,7 @@ class Af_RedditImgur extends Plugin {
|
|||||||
$found = false;
|
$found = false;
|
||||||
|
|
||||||
// embed before reddit <table> post layout
|
// 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
|
// deal with json-provided media content first
|
||||||
if ($article["link"] && $anchor) {
|
if ($article["link"] && $anchor) {
|
||||||
|
|||||||
Reference in New Issue
Block a user