mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 02:21:28 +00:00
enclosures: rewrite relative urls on import, duh
This commit is contained in:
@@ -1078,7 +1078,8 @@
|
|||||||
if (is_array($encs)) {
|
if (is_array($encs)) {
|
||||||
foreach ($encs as $e) {
|
foreach ($encs as $e) {
|
||||||
$e_item = array(
|
$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);
|
array_push($enclosures, $e_item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user