janinedog: (Default)
Janine ([personal profile] janinedog) wrote in [site community profile] changelog2009-05-01 12:57 pm

[dw-free] correct price indicators on /shop

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

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

Add asterisk to 2 month.

Patch by [personal profile] janinedog.

Files modified:
  • cgi-bin/LJ/Widget/ShopItemOptions.pm
--------------------------------------------------------------------------------
diff -r e9949d88f2cb -r a18f6166e808 cgi-bin/LJ/Widget/ShopItemOptions.pm
--- a/cgi-bin/LJ/Widget/ShopItemOptions.pm	Fri May 01 08:09:36 2009 +0000
+++ b/cgi-bin/LJ/Widget/ShopItemOptions.pm	Fri May 01 12:56:58 2009 +0000
@@ -62,7 +62,7 @@ sub render_body {
                 if $price_string eq 'ShopItemOptions';
 
             my $footnote = " *"
-                if $month_value == 12 || $month_value == 6;
+                if $month_value =~ /^(?:12|6|2)$/;
             $ret .= $class->html_check(
                 type => 'radio',
                 name => $option_name,
--------------------------------------------------------------------------------

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