diff options
author | Andrew Dolgov <[email protected]> | 2017-03-27 19:20:46 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-03-27 19:20:46 +0300 |
commit | 86e534290e2c9ce772481e70aeb4148dde7539b4 (patch) | |
tree | fdb7ff03f0dd2b9daf381c7e85cb44666a225907 /include/rssfuncs.php | |
parent | 9594ea68751c7f887dfabcf4e1411a2da1283ed5 (diff) |
enclosures: rewrite relative urls on import, duh
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r-- | include/rssfuncs.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index c03e6681e..1eea3df3a 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -1078,7 +1078,8 @@ if (is_array($encs)) { foreach ($encs as $e) { $e_item = array( - $e->link, $e->type, $e->length, $e->title, $e->width, $e->height); + rewrite_relative_url($site_url, $e->link), + $e->type, $e->length, $e->title, $e->width, $e->height); array_push($enclosures, $e_item); } } |