--- lib/MT/Template/Context.pm.bak 2004-10-26 17:27:53.000000000 +0900 +++ lib/MT/Template/Context.pm 2004-12-27 08:30:13.984882544 +0900 @@ -1169,10 +1169,18 @@ my $registration_allowed = $blog->allow_reg_comments; my $unregistered_allowed = $blog->allow_unreg_comments; - my $static_arg = $args->{static} ? "static=1" : "static=0"; - my $static_field = ($args->{static} || !defined($args->{static})) + my ($static_arg, $static_field); + if (defined($args->{static})) { + $static_arg = $args->{static} ? "static=1" : "static=0"; + $static_field = $args->{static} ? (q{}) : (q{}); + } else { + $static_arg = $ctx->stash('comment_is_static') ? "static=1" : "static=0"; + $static_field = $ctx->stash('comment_is_static') + ? (q{}) + : (q{}); + } my $typekey_version = $cfg->TypeKeyVersion;