[dw-free] Missing string for /pubkey error message when PGP isn't configured
[commit: http://hg.dwscoalition.org/dw-free/rev/f51750942eb2]
http://bugs.dwscoalition.org/show_bug.cgi?id=2308
Fix string reference.
Patch by
afuna.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2308
Fix string reference.
Patch by
Files modified:
- cgi-bin/DW/Controller/Misc.pm
--------------------------------------------------------------------------------
diff -r 582a6fe26f6c -r f51750942eb2 cgi-bin/DW/Controller/Misc.pm
--- a/cgi-bin/DW/Controller/Misc.pm Wed Feb 17 04:49:29 2010 +0000
+++ b/cgi-bin/DW/Controller/Misc.pm Wed Feb 17 04:50:44 2010 +0000
@@ -42,7 +42,7 @@ sub whereami_handler {
# handle requests for a user's public key
sub pubkey_handler {
- return error_ml( '.error.notconfigured' ) unless $LJ::USE_PGP;
+ return error_ml( '/misc/pubkey.tt.error.notconfigured' ) unless $LJ::USE_PGP;
my ( $ok, $rv ) = controller( anonymous => 1, specify_user => 1 );
return $rv unless $ok;
--------------------------------------------------------------------------------
