commit 2f62dfc440802134166d0ba4df9f3442fd30fa75
parent f474279de174f6875021cda86f174ef3ea98b5f4
Author: uriel@engel.se.cat-v.org <unknown>
Date: Tue, 14 Oct 2008 01:49:35 +0200
Fix bug where blogDir wouldn't be set properly
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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