Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormoritz <moritz@c213334d-75ef-0310-aa23-eaa082d1ae64>2009-10-14 08:21:16 (GMT)
committer moritz <moritz@c213334d-75ef-0310-aa23-eaa082d1ae64>2009-10-14 08:21:16 (GMT)
commitdcd14519756b1cd903c1b0e6ed9749c81ce60d9c (patch)
tree5567004b7eb48d591d5806de154b6dc1a6a06fc2
parent52553ffbaf23974c12d1296bd72b169b34f78b54 (diff)
[irclog] channel names begin with '#'
git-svn-id: http://svn.pugscode.org/pugs/misc/irclog@28785 c213334d-75ef-0310-aa23-eaa082d1ae64
-rwxr-xr-xcgi/channel-index.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/channel-index.pl b/cgi/channel-index.pl
index 762f29f..3cf95f9 100755
--- a/cgi/channel-index.pl
+++ b/cgi/channel-index.pl
@@ -53,7 +53,7 @@ sub get_channel_index {
# and last date
my $dbh = get_dbh();
my $get_dates = 'SELECT DISTINCT day FROM irclog WHERE channel = ? ORDER BY day';
- my $dates = $dbh->selectcol_arrayref($get_dates, undef, $channel);
+ my $dates = $dbh->selectcol_arrayref($get_dates, undef, '#' . $channel);
$t->param(CHANNEL => $channel);
$t->param(BASE_URL => $base_url);