bugfix
authorJoey Hess <joey@kitenet.net>
Thu, 24 Jun 2010 00:26:09 +0000 (20:26 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 24 Jun 2010 00:26:09 +0000 (20:26 -0400)
IkiWiki/Plugin/git.pm

index 8d210cb5d9d2d916897a48eb281289be34f088ae..992c6226b6b69f859b80458fb6b21da52a28a49c 100644 (file)
@@ -507,8 +507,8 @@ sub rcs_commit_staged (@) {
                        $u=encode_utf8($u);
                        $ENV{GIT_AUTHOR_NAME}=$u;
                }
-               if (defined $params{session}->param("username")) {
-                       $u=encode_utf8($params{session}->param("username"));
+               if (defined $params{session}->param("nickname")) {
+                       $u=encode_utf8($params{session}->param("nickname"));
                }
                if (defined $u) {
                        $ENV{GIT_AUTHOR_EMAIL}="$u\@web";