afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-11-19 02:35 pm

[dw-free] correct URL on OpenID lastn page

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

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

Fix URL.

Patch by [staff profile] denise.

Files modified:
  • cgi-bin/LJ/User.pm
--------------------------------------------------------------------------------
diff -r eac838986ae4 -r 564f51b245ec cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm	Sun Nov 15 09:45:30 2009 +0000
+++ b/cgi-bin/LJ/User.pm	Thu Nov 19 14:34:59 2009 +0000
@@ -8506,7 +8506,8 @@ sub make_journal
     # FIXME: pretty this up at some point, to maybe auto-redirect to 
     # the external URL or something, but let's just do this for now
     if ( $u->is_identity && $view ne "read" ) {
-        my $warning = BML::ml( 'error.nojournal.openid', { aopts => "href='$u->openid_identity'", id => $u->openid_identity } );
+        my $location = $u->openid_identity;
+        my $warning = BML::ml( 'error.nojournal.openid', { aopts => "href='$location'", id => $location } );
         return $error->( $warning, "404 Not here" );
     }
 
--------------------------------------------------------------------------------