]> git.mjollnir.org Git - s9y.git/commitdiff
fix some more variable issues, thanks to Omid's ZendAnalyzer runs :)
authorgarvinhicking <garvinhicking>
Thu, 17 Nov 2005 15:25:24 +0000 (15:25 +0000)
committergarvinhicking <garvinhicking>
Thu, 17 Nov 2005 15:25:24 +0000 (15:25 +0000)
index.php
rss.php

index 0250490a9348b696710cdba10c18781a7a1a21fe..a9b1faa21c62d102fdcf42e64c163e56c234e37e 100644 (file)
--- a/index.php
+++ b/index.php
@@ -168,7 +168,7 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range
                 $gday2 = date('t', $ts);
             }
             $te = mktime(23, 59, 59, $month, $gday2, $year);
-            $date = serendipity_formatTime('%B %Y', $ts, $false);
+            $date = serendipity_formatTime('%B %Y', $ts, false);
         }
     }
 
diff --git a/rss.php b/rss.php
index 22ce9314b52a613b386819fa58525ce03bf2df0b..7a64ac6473dec56dca2f6802d7decaec9cd685a4 100644 (file)
--- a/rss.php
+++ b/rss.php
@@ -103,7 +103,7 @@ $metadata = array(
     'title'             => $title,
     'description'       => $description,
     'language'          => $serendipity['lang'],
-    'additional_fields' => $additional_fields,
+    'additional_fields' => array(),
     'link'              => $serendipity['baseURL'],
     'email'             => $serendipity['email'],
     'fullFeed'          => false,