diff options
author | Joey Hess <joey@kitenet.net> | 2010-06-23 20:26:09 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-06-23 20:26:09 -0400 |
commit | 38bf2f6388d506e741395992617a900843e9ba0d (patch) | |
tree | fd4e6fdf3148020a8e1730d1f062cd233249be62 | |
parent | 9a2c56b748ec9cd9230abada56267bde1840ca39 (diff) | |
download | ikiwiki-38bf2f6388d506e741395992617a900843e9ba0d.tar ikiwiki-38bf2f6388d506e741395992617a900843e9ba0d.tar.gz |
bugfix
-rw-r--r-- | IkiWiki/Plugin/git.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm index 8d210cb5d..992c6226b 100644 --- a/IkiWiki/Plugin/git.pm +++ b/IkiWiki/Plugin/git.pm @@ -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"; |