Skip to content

Commit

Permalink
Merge pull request #6 from madsoulswe/develop
Browse files Browse the repository at this point in the history
HtmlHelper Extensions fix
  • Loading branch information
madsoulswe authored Dec 2, 2022
2 parents 9403e07 + 2a8f3d3 commit b7d3855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Our.Umbraco.Honeypot.Core/HoneypotExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static IHtmlString HoneypotTimeField(this HtmlHelper helper, HoneypotOpti
return new HtmlString(html.ToString());
}

public static IHtmlString HoneypotField(this HtmlHelper helper, string name = null, string type = "text", HoneypotOptions options = null)
public static IHtmlString HoneypotField(this HtmlHelper helper, HoneypotOptions options = null, string name = null, string type = "text")
{
if(options == null)
options = Current.Factory.GetInstance<HoneypotOptions>();
Expand Down

0 comments on commit b7d3855

Please sign in to comment.