From: Joey Hess Date: Thu, 24 Jun 2010 00:26:09 +0000 (-0400) Subject: bugfix X-Git-Tag: 3.20100704~31 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=38bf2f6388d506e741395992617a900843e9ba0d;p=ikiwiki.git bugfix --- 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";