]> git.wh0rd.org Git - tt-rss.git/commitdiff
Correct variable
authoraliz27 <aliz@tamperd.net>
Thu, 14 May 2015 20:39:11 +0000 (22:39 +0200)
committeraliz27 <aliz@tamperd.net>
Thu, 14 May 2015 20:39:11 +0000 (22:39 +0200)
plugins/af_redditimgur/init.php

index 1bf91e88a83f95b0c5f24f9f0056ff16071357d1..4521eae8c9e825af3b9306a366b5a84debb4e140 100644 (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);