diff options
Diffstat (limited to 'IkiWiki/Plugin')
-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"; |