From: Andrew Dolgov Date: Tue, 26 Jan 2010 09:21:06 +0000 (+0300) Subject: unbreak published feed when not logged in X-Git-Tag: 1.4.1~30 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2712bcea09a5db4477fefbf939324d24cb72d838;p=tt-rss.git unbreak published feed when not logged in --- diff --git a/functions.php b/functions.php index d1d5700f..6a18ffbf 100644 --- a/functions.php +++ b/functions.php @@ -3751,7 +3751,7 @@ $res = preg_replace('/]+>/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); }