aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-06-23 20:26:09 -0400
committerJoey Hess <joey@kitenet.net>2010-06-23 20:26:09 -0400
commit38bf2f6388d506e741395992617a900843e9ba0d (patch)
treefd4e6fdf3148020a8e1730d1f062cd233249be62 /IkiWiki/Plugin
parent9a2c56b748ec9cd9230abada56267bde1840ca39 (diff)
downloadikiwiki-38bf2f6388d506e741395992617a900843e9ba0d.tar
ikiwiki-38bf2f6388d506e741395992617a900843e9ba0d.tar.gz
bugfix
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/git.pm4
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";