fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-10-03 07:22 am

[dw-free] convert directory frontend to TT

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

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

Cosmetic tweak that prevents a meaningless parameter from being printed in
the directory search URL

Patch by [personal profile] kareila.

Files modified:
  • cgi-bin/LJ/Widget/Location.pm
--------------------------------------------------------------------------------
diff -r a424756dc0f7 -r 2b4744e52476 cgi-bin/LJ/Widget/Location.pm
--- a/cgi-bin/LJ/Widget/Location.pm	Mon Oct 03 15:21:38 2011 +0800
+++ b/cgi-bin/LJ/Widget/Location.pm	Mon Oct 03 15:22:33 2011 +0800
@@ -37,7 +37,7 @@
         @_
     );
 
-    my $minimal_display = $opts{minimal_display} ? 1 : 0;
+    my $minimal_display = $opts{minimal_display} ? 1 : '';
 
     # use "authas"-aware code
     my $u = $class->get_effective_remote;
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

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