1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-24 11:56:36 +02:00

unbreak published feed when not logged in

This commit is contained in:
Andrew Dolgov 2010-01-26 12:21:06 +03:00
parent 5439fbd3d2
commit 2712bcea09

View File

@ -3751,7 +3751,7 @@
$res = preg_replace('/<img[^>]+>/is', '', $res);
}
if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW')) {
if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW', $owner)) {
$res = preg_replace("/href=/i", "target=\"_blank\" href=", $res);
}