]> git.mjollnir.org Git - s9y.git/commitdiff
fix typo that made rss-fullfeed things to not properly work as intended
authorgarvinhicking <garvinhicking>
Thu, 12 Apr 2007 09:34:12 +0000 (09:34 +0000)
committergarvinhicking <garvinhicking>
Thu, 12 Apr 2007 09:34:12 +0000 (09:34 +0000)
docs/NEWS
rss.php

index 1df22d82af8035114b2142da0c35e5bc08292f93..0fee63d3fa6972f95c814a694da37a9f2138420a 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,10 @@
 Version 1.2 ()
 ------------------------------------------------------------------------
 
+    * Fix RSS fullfeed "let client decide" option typo. Previously this
+      always enforced a fullfeed to show, regardless of what the client
+      indicated. Thanks to stm9x9 (garvinhicking)
+      
     * Add proper charset to CSS stylesheet. Thanks to SADtg 
       (garvinhicking)
 
diff --git a/rss.php b/rss.php
index 83d5db12dce107f57e1ea5727beb5f072fe0899e..72d12a732356d160984884ece22cb5c3b0471e42 100644 (file)
--- a/rss.php
+++ b/rss.php
@@ -156,11 +156,11 @@ if (is_array($plugins)) {
                 }
             }
             $metadata['fullFeed']          = $plugin->get_config('fullfeed', false);
-            if ($metaData['fullFeed'] === 'client') {
+            if ($metadata['fullFeed'] === 'client') {
                 if ($_GET['fullFeed'] || $serendipity['GET']['fullFeed']) {
-                    $metaData['fullFeed'] = true;
+                    $metadata['fullFeed'] = true;
                 } else {
-                    $metaData['fullFeed'] = false;
+                    $metadata['fullFeed'] = false;
                 }
             }