Use correct variable.

        Patch by foxfirefey. 

diffs (12 lines):

diff -r 7c72e84a2a8e -r 7158b7960bfe cgi-bin/LJ/Tags.pm
--- a/cgi-bin/LJ/Tags.pm        Thu Jan 13 12:38:54 2011 +0800
+++ b/cgi-bin/LJ/Tags.pm        Thu Jan 13 13:45:17 2011 +0800
@@ -1279,7 +1279,7 @@ sub rename_usertag {
     # if so, error and suggest merging the tags
     # FIXME: ask user to merge and then merge
     my $tags = LJ::Tags::get_usertags( $u );
-    return $err->( LJ::Lang::ml( 'taglib.error.exists', { tagname => 
LJ::ehtml( $oldkw ) } ) )
+    return $err->( LJ::Lang::ml( 'taglib.error.exists', { tagname => 
LJ::ehtml( $newname ) } ) )
         if $tags->{$newkwid};
 
     # escape sub
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to