]> git.mjollnir.org Git - s9y.git/commitdiff
fb patch
authorgarvinhicking <garvinhicking>
Fri, 26 May 2006 18:52:55 +0000 (18:52 +0000)
committergarvinhicking <garvinhicking>
Fri, 26 May 2006 18:52:55 +0000 (18:52 +0000)
rss.php

diff --git a/rss.php b/rss.php
index b02f3e0d6084008684ec57bb31d39b583c7cabe8..10502ecdd76a66d27601bac51f0ee1f09eb8d490 100644 (file)
--- a/rss.php
+++ b/rss.php
@@ -130,7 +130,7 @@ if (is_array($plugins)) {
             }
             $metadata['fullFeed']          = $plugin->get_config('fullfeed', false);
 
-            if ($plugin->get_config('show_feedburner') === 'force' && !preg_match('@FeedBurn@i', $_SERVER['HTTP_USER_AGENT'])) {
+            if ($_GET['type']  == 'content' && $plugin->get_config('show_feedburner') === 'force' && !preg_match('@FeedBurn@i', $_SERVER['HTTP_USER_AGENT'])) {
                        $url = 'http://feeds.feedburner.com/' . $plugin->get_config('fb_id');
                        header('Location: ' . $url);
                        exit;