]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/notifyemail.pm
git: change calling convention of safe_git to have named arguments
[git.ikiwiki.info.git] / IkiWiki / Plugin / notifyemail.pm
index 2c1775f2e81df281a7c7769220acc26ade476cdf..f401c0311aba9ea4c2183498cc61a494839c8953 100644 (file)
@@ -34,7 +34,7 @@ sub formbuilder (@) {
        }
        elsif ($form->submitted eq "Save Preferences" && $form->validate &&
               defined $form->field("subscriptions")) {
        }
        elsif ($form->submitted eq "Save Preferences" && $form->validate &&
               defined $form->field("subscriptions")) {
-               setsubscriptions($username, $form->field('subscriptions'));
+               setsubscriptions($username, scalar $form->field('subscriptions'));
        }
 }
 
        }
 }