From: aliz27 Date: Thu, 14 May 2015 20:39:11 +0000 (+0200) Subject: Correct variable X-Git-Tag: 16.3~325^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1af9f54f3202bff057080ebaf208954e5abad4be;p=tt-rss.git Correct variable --- diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php index 1bf91e88..4521eae8 100644 --- a/plugins/af_redditimgur/init.php +++ b/plugins/af_redditimgur/init.php @@ -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);