From: garvinhicking Date: Thu, 12 Apr 2007 09:34:12 +0000 (+0000) Subject: fix typo that made rss-fullfeed things to not properly work as intended X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=dd07593b1e3381fbf689f93b8470676cfdd724ad;p=s9y.git fix typo that made rss-fullfeed things to not properly work as intended --- 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; } }