From 0837caa70a9ce256d1a9a09f6a5222b3ddc65d4e Mon Sep 17 00:00:00 2001 From: Uriel Date: Tue, 14 Oct 2008 01:49:35 +0200 Subject: [PATCH] Fix bug where blogDir wouldn't be set properly --- bin/controller.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/controller.rc b/bin/controller.rc index f073a15..e3be887 100755 --- a/bin/controller.rc +++ b/bin/controller.rc @@ -186,7 +186,7 @@ fn select_handler { # Rss feeds. TODO: we should check that the request is for a real blog dir if not if (~ $REQUEST_URI */index.rss) { uri = `{echo $uri | sed 's/index.rss$//'} - if (~ $blogDirs 0) + if (~ $#blogDirs 0) blogDirs = $sitedir^$uri uri=$baseuri$"uri master_template=feeds/rss20.tpl