summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-26 12:21:06 +0300
committerAndrew Dolgov <[email protected]>2010-01-26 12:21:06 +0300
commit2712bcea09a5db4477fefbf939324d24cb72d838 (patch)
treef44eb1f9b0fdb0665f719d7b10aa3a5b782c8aef /functions.php
parent5439fbd3d21b1005d11e9053455428fabe5e5e1d (diff)
unbreak published feed when not logged in
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index d1d5700f0..6a18ffbf3 100644
--- a/functions.php
+++ b/functions.php
@@ -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);
}