summaryrefslogtreecommitdiffstats
path: root/rss.php
diff options
context:
space:
mode:
Diffstat (limited to 'rss.php')
-rw-r--r--rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/rss.php b/rss.php
index 535b6e1..ba014d7 100644
--- a/rss.php
+++ b/rss.php
@@ -14,7 +14,7 @@ function processDir($dirname, $phpfile) {
foreach($filenames as $file) {
// sort($handle, SORT_NUMERIC);
- if (($file != ".") && ($file != "..") && ($file{0} != '.')) {
+ if (($file != ".") && ($file != "..") && ($file[0] != '.')) {
echo " <item>\n";
$datestring = $file;
$datestring = str_replace(".", "-", $datestring);