diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-04-30 21:32:24 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-04-30 21:32:24 +0000 |
commit | 9026ae05c2e7b26c0021e9ecf6dcff64a1dc0ca9 (patch) | |
tree | 4400f3d8c9f3c32def1733d850dd9a8116d95154 /IkiWiki | |
parent | 65be0598a96a6a24a1a6993df524fda256b9bc97 (diff) | |
download | ikiwiki-9026ae05c2e7b26c0021e9ecf6dcff64a1dc0ca9.tar ikiwiki-9026ae05c2e7b26c0021e9ecf6dcff64a1dc0ca9.tar.gz |
* Fix a bug that prevented clearing email or subscriptions.
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 86a5ba49e..a2e774c36 100644 --- a/IkiWiki/Plugin/passwordauth.pm +++ b/IkiWiki/Plugin/passwordauth.pm @@ -189,7 +189,7 @@ sub formbuilder (@) { #{{{ if ($form->submitted eq "Save Preferences" && $form->validate) { my $user_name=$form->field('name'); foreach my $field (qw(password)) { - if (defined $form->field($field) && length $form->field($field)) { + if (defined $form->field($field)) { IkiWiki::userinfo_set($user_name, $field, $form->field($field)) || error("failed to set $field"); } |