From 38bf2f6388d506e741395992617a900843e9ba0d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 23 Jun 2010 20:26:09 -0400 Subject: [PATCH] bugfix --- IkiWiki/Plugin/git.pm | 4 ++-- 1 file 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"; -- 2.26.2