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
1 changed files with 1 additions and 1 deletions

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);
}