diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/af_redditimgur/init.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php index 711e845bc..fe6d32400 100644 --- a/plugins/af_redditimgur/init.php +++ b/plugins/af_redditimgur/init.php @@ -275,13 +275,13 @@ class Af_RedditImgur extends Plugin { foreach ($entries as $entry) { if ($entry->hasAttribute("href")) { $entry->setAttribute("href", - rewrite_relative_url($content_link, $entry->getAttribute("href"))); + rewrite_relative_url($content_link->getAttribute("href"), $entry->getAttribute("href"))); } if ($entry->hasAttribute("src")) { $entry->setAttribute("src", - rewrite_relative_url($content_link, $entry->getAttribute("src"))); + rewrite_relative_url($content_link->getAttribute("href"), $entry->getAttribute("src"))); } |