janinedog: (Default)
Janine ([personal profile] janinedog) wrote in [site community profile] changelog2009-03-27 11:38 pm

[dw-free] English-strip /admin

[commit: http://hg.dwscoalition.org/dw-free/rev/6d4924955c6d]

http://bugs.dwscoalition.org/show_bug.cgi?id=434

Fix a bug in the English-stripping of /admin/.

Patch by [personal profile] sophie.

Files modified:
  • htdocs/admin/index.bml
--------------------------------------------------------------------------------
diff -r 74e2b728352f -r 6d4924955c6d htdocs/admin/index.bml
--- a/htdocs/admin/index.bml	Thu Mar 26 06:47:02 2009 +0000
+++ b/htdocs/admin/index.bml	Fri Mar 27 23:37:15 2009 +0000
@@ -133,7 +133,7 @@ body<=
             my $needspriv = ( $haspriv ? "" : " needspriv" );
             my $privreason = "";
             if ( @gotprivs || @needsprivs ) {
-                my $needpriv = ( @needsprivs > 1 ? "<?_ml .needspriv _ml?>" : "<?_ml .needs_one_of _ml?>" );
+                my $needpriv = ( @needsprivs > 1 ? "<?_ml .needs_one_of _ml?>" : "<?_ml .needspriv _ml?>" );
                 $privreason = ( $haspriv ? "(<b>"  . join( "</b>, <b>", @gotprivs   ) . "</b>)"
                                          : "($needpriv: <b>" . join( "</b>, <b>", @needsprivs ) . "</b>)" );
             }
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org