From dd07593b1e3381fbf689f93b8470676cfdd724ad Mon Sep 17 00:00:00 2001
From: garvinhicking <garvinhicking>
Date: Thu, 12 Apr 2007 09:34:12 +0000
Subject: [PATCH] fix typo that made rss-fullfeed things to not properly work
 as intended

---
 docs/NEWS | 4 ++++
 rss.php   | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/docs/NEWS b/docs/NEWS
index 1df22d8..0fee63d 100644
--- 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 83d5db1..72d12a7 100644
--- 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;
                 }
             }
 
-- 
2.39.5