Hardcode the username link format, since it's unlikely to change.

        Patch by rho. 

diffs (12 lines):

diff -r 5d53171dcf09 -r d6ad9a264894 cgi-bin/DW/Logic/ProfilePage.pm
--- a/cgi-bin/DW/Logic/ProfilePage.pm   Mon Jun 29 15:14:31 2009 +0000
+++ b/cgi-bin/DW/Logic/ProfilePage.pm   Mon Jun 29 15:18:47 2009 +0000
@@ -800,7 +800,7 @@ sub external_services {
 
     if ( my $lastfm = $u->prop( 'last_fm_user' ) ) {
         my $elastfm = LJ::eurl( $lastfm );
-        my $lastfm_url = $LJ::LAST_FM_USER_URL;
+        my $lastfm_url = 'http://www.last.fm/user/%username%';
         $lastfm_url =~ s/%username%/$elastfm/g;
         push @ret, {
             type => 'lastfm',
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to