diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-26 14:54:50 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-26 14:54:50 -0400 |
commit | 26db34e1d6df761f068819a4b7b23ef0c35c635d (patch) | |
tree | 81996e4d898b3c33bd45e42f6f361d1d9211d4af /IkiWiki | |
parent | 79f637a436509f587ee4e1d72f56cef4f59393de (diff) |
adminemail may be undefined
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/passwordauth.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/passwordauth.pm b/IkiWiki/Plugin/passwordauth.pm index e0e8e51df..68aaf808f 100644 --- a/IkiWiki/Plugin/passwordauth.pm +++ b/IkiWiki/Plugin/passwordauth.pm @@ -279,7 +279,7 @@ sub formbuilder (@) { #{{{ error($@) if $@; sendmail( To => IkiWiki::userinfo_get($user_name, "email"), - From => "$config{wikiname} admin <$config{adminemail}>", + From => "$config{wikiname} admin <".(defined $config{adminemail} ? $config{adminemail} : "")>", Subject => "$config{wikiname} information", Message => $template->output, ) or error(gettext("Failed to send mail")); |