1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

Merge pull request #454 from aliz27/patch-2

Correct variable
This commit is contained in:
Andrew Dolgov
2015-05-14 23:41:17 +03:00

View File

@@ -94,7 +94,7 @@ class Af_RedditImgur extends Plugin {
$matches = array();
if (preg_match("/^https?:\/\/(m\.)?imgur.com\/([^\.\/]+$)/", $entry->getAttribute("href"), $matches)) {
$token = $matches[1];
$token = $matches[2];
$album_content = fetch_file_contents($entry->getAttribute("href"),
false, false, false, false, 10);