fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-08-28 09:48 am

[dw-free] clean up error logs

[commit: http://hg.dwscoalition.org/dw-free/rev/7f859be4695c]

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

Fix syntax.

Patch by [personal profile] kareila.

Files modified:
  • htdocs/inbox/compose.bml
--------------------------------------------------------------------------------
diff -r d1735726b4ac -r 7f859be4695c htdocs/inbox/compose.bml
--- a/htdocs/inbox/compose.bml	Sat Aug 28 17:46:52 2010 +0800
+++ b/htdocs/inbox/compose.bml	Sat Aug 28 17:48:42 2010 +0800
@@ -73,7 +73,7 @@ body<=
             my ($msg_len_b, $msg_len_c) = LJ::text_length($msg_body_text);
             push @errors, BML::ml( ".error.message.length",
                   { msg_length => LJ::commafy( $msg_len_c ),
-                  => msg_limit -> LJ::commafy( $msg_limit ) } )
+                    msg_limit => LJ::commafy( $msg_limit ) } )
                 unless ($msg_len_c <= $msg_limit);
 
             # checks if the PM is empty (no text)
--------------------------------------------------------------------------------