Verified Commit 95dafa39 authored by Adam Matoušek's avatar Adam Matoušek
Browse files

fix loading password indices

parent aef48026
......@@ -65,7 +65,7 @@ unless ( $c{article} && $c{article} =~ m,^[-/a-z0-9]+$,
}
my $comment_index = load_index( '_comment_index' );
my $password_index = load_index( '_comment_passwords' );
my $password_index = load_index( '_comment_passwords', 1 );
unless ( $password_index->{$c{article}} # comments are enabled
&& ( !$c{parent} || $comment_index->{$c{article}}{$c{parent}} ) ) # parent exists
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment