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-19 09:32 am

[dw-free] DW::Request-ification

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

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

One more instance where we were using the old function.

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/LJ/S2.pm
--------------------------------------------------------------------------------
diff -r ba6606b9f6c8 -r e1529b5ec542 cgi-bin/LJ/S2.pm
--- a/cgi-bin/LJ/S2.pm	Thu Aug 19 15:07:56 2010 +0800
+++ b/cgi-bin/LJ/S2.pm	Thu Aug 19 17:32:31 2010 +0800
@@ -701,7 +701,7 @@ sub s2_context
     # but it doesn't matter if we're using the minimal style ...
     my %style;
     eval {
-        if ( $r->notes( 'use_minimal_scheme' ) ) {
+        if ( $r->note( 'use_minimal_scheme' ) ) {
             my $public = get_public_layers();
             while (my ($layer, $name) = each %LJ::MINIMAL_STYLE) {
                 next unless $name ne "";
--------------------------------------------------------------------------------